Explorar o código

forgot actual changes to source files

Jeff Palmer %!s(int64=8) %!d(string=hai) anos
pai
achega
488b0e125e

+ 1 - 1
Exporters/Blender/src/babylon-js/__init__.py

@@ -1,7 +1,7 @@
 bl_info = {
     'name': 'Babylon.js',
     'author': 'David Catuhe, Jeff Palmer',
-    'version': (5, 1, 1),
+    'version': (5, 1, 2),
     'blender': (2, 76, 0),
     'location': 'File > Export > Babylon.js (.babylon)',
     'description': 'Export Babylon.js scenes (.babylon)',

+ 1 - 1
Exporters/Blender/src/babylon-js/material.py

@@ -395,7 +395,7 @@ class StdMaterial(Material):
 
             if mtex.use_map_normal:
                 Logger.log('Bump texture found "' + mtex.name + '"', 3)
-                self.textures.append(Texture('bumpTexture', 1.0 / mtex.normal_factor, mtex, mesh, exporter))
+                self.textures.append(Texture('bumpTexture', mtex.normal_factor, mtex, mesh, exporter))
 
             if mtex.use_map_color_spec:
                 Logger.log('Specular texture found "' + mtex.name + '"', 3)