[Bf-extensions-cvs] [6de9774] master: Bugfix

Oscurart noreply at git.blender.org
Thu Oct 15 19:19:52 CEST 2015


Commit: 6de9774ef395bfcf61a091c532c9e59ad5785f0a
Author: Oscurart
Date:   Thu Oct 15 14:19:44 2015 -0300
Branches: master
https://developer.blender.org/rBAC6de9774ef395bfcf61a091c532c9e59ad5785f0a

Bugfix

===================================================================

M	oscurart_mesh_cache_tools.py

===================================================================

diff --git a/oscurart_mesh_cache_tools.py b/oscurart_mesh_cache_tools.py
index ad475f1..5523011 100644
--- a/oscurart_mesh_cache_tools.py
+++ b/oscurart_mesh_cache_tools.py
@@ -52,10 +52,11 @@ class CreaPropiedades(bpy.types.Operator):
     bl_label = "Create Auto Load PC Proxy List"
 
     def execute(self, context):
-        for gr in bpy.data.groups:    
-            i = bpy.context.scene.pc_auto_load_proxy.add()   
-            i.name = gr.name  
-            i.use_auto_load = False
+        for gr in bpy.data.groups:  
+            if gr.library != None:  
+                i = bpy.context.scene.pc_auto_load_proxy.add()   
+                i.name = gr.name  
+                i.use_auto_load = False
         return {'FINISHED'}
 
 class RemuevePropiedades(bpy.types.Operator):



More information about the Bf-extensions-cvs mailing list