[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4671] trunk/py/scripts/addons/ io_scene_fbx/import_fbx.py: style cleanup - long lines

Campbell Barton ideasman42 at gmail.com
Mon Aug 12 05:16:34 CEST 2013


Revision: 4671
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4671
Author:   campbellbarton
Date:     2013-08-12 03:16:33 +0000 (Mon, 12 Aug 2013)
Log Message:
-----------
style cleanup - long lines

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-08-12 02:59:35 UTC (rev 4670)
+++ trunk/py/scripts/addons/io_scene_fbx/import_fbx.py	2013-08-12 03:16:33 UTC (rev 4671)
@@ -332,7 +332,7 @@
             print("warning layer %r ref type unsupported: %r", (descr, fbx_layer_ref))
     else:
         print("warning layer %r mapping type unsupported: %r", (descr, fbx_layer_mapping))
-    
+
     return False
 
 
@@ -744,7 +744,10 @@
                 ok = True
             else:
                 ok = False
-                for fbx_lnk, fbx_lnk_item, fbx_lnk_type in connection_filter_reverse(fbx_uuid, None):
+                for (fbx_lnk,
+                     fbx_lnk_item,
+                     fbx_lnk_type) in connection_filter_reverse(fbx_uuid, None):
+
                     if fbx_lnk_type.props[0] != b'OO':
                         continue
                     if not isinstance(fbx_lnk_item, bpy.types.ID):
@@ -774,7 +777,10 @@
             if fbx_item[1] is None:
                 continue  # no object loaded.. ignore
 
-            for fbx_lnk, fbx_lnk_item, fbx_lnk_type in connection_filter_forward(fbx_uuid, b'Model'):
+            for (fbx_lnk,
+                 fbx_lnk_item,
+                 fbx_lnk_type) in connection_filter_forward(fbx_uuid, b'Model'):
+
                 fbx_item[1].parent = fbx_lnk_item
     _(); del _
 
@@ -800,10 +806,16 @@
                 continue
 
             mesh = fbx_table_nodes[fbx_uuid][1]
-            for fbx_lnk, fbx_lnk_item, fbx_lnk_type in connection_filter_forward(fbx_uuid, b'Model'):
+            for (fbx_lnk,
+                 fbx_lnk_item,
+                 fbx_lnk_type) in connection_filter_forward(fbx_uuid, b'Model'):
+
                 # link materials
                 fbx_lnk_uuid = elem_uuid(fbx_lnk)
-                for fbx_lnk_material, material, fbx_lnk_material_type in connection_filter_reverse(fbx_lnk_uuid, b'Material'):
+                for (fbx_lnk_material,
+                     material,
+                     fbx_lnk_material_type) in connection_filter_reverse(fbx_lnk_uuid, b'Material'):
+
                     mesh.materials.append(material)
     _(); del _
 
@@ -819,7 +831,10 @@
                 continue
 
             material = fbx_table_nodes[fbx_uuid][1]
-            for fbx_lnk, image, fbx_lnk_type in connection_filter_reverse(fbx_uuid, b'Texture'):
+            for (fbx_lnk,
+                 image,
+                 fbx_lnk_type) in connection_filter_reverse(fbx_uuid, b'Texture'):
+
                 if use_cycles:
                     if fbx_lnk_type.props[0] == b'OP':
                         lnk_type = fbx_lnk_type.props[3]



More information about the Bf-extensions-cvs mailing list