[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4770] trunk/py/scripts/addons/ io_scene_fbx/import_fbx.py: update texture node values to match changes to blender.
Campbell Barton
ideasman42 at gmail.com
Thu Sep 26 06:41:54 CEST 2013
Revision: 4770
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4770
Author: campbellbarton
Date: 2013-09-26 04:41:54 +0000 (Thu, 26 Sep 2013)
Log Message:
-----------
update texture node values to match changes to blender.
Modified Paths:
--------------
trunk/py/scripts/addons/io_scene_fbx/import_fbx.py
Modified: trunk/py/scripts/addons/io_scene_fbx/import_fbx.py
===================================================================
--- trunk/py/scripts/addons/io_scene_fbx/import_fbx.py 2013-09-26 02:02:08 UTC (rev 4769)
+++ trunk/py/scripts/addons/io_scene_fbx/import_fbx.py 2013-09-26 04:41:54 UTC (rev 4770)
@@ -1225,8 +1225,8 @@
use_mapping = True
tex_map_kw = {
"translation": tex_map[0],
- "rotation": tex_map[1],
- "scale": tex_map[2],
+ "rotation": [-i for i in tex_map[1]],
+ "scale": [((1.0 / i) if i != 0.0 else 1.0) for i in tex_map[2]],
}
if lnk_type == b'DiffuseColor':
More information about the Bf-extensions-cvs
mailing list