[Durian-svn] [2173] fix for api error, will fix api later
campbell
institute at blender.org
Mon Apr 19 15:29:13 CEST 2010
Revision: 2173
https://blenderinstitute.dyndns.org/durian-svn/?do=log&project=durian&path=/&rev=2173
Author: campbell
Date: 2010-04-19 15:29:13 +0200 (Mon, 19 Apr 2010)
Log Message:
-----------
fix for api error, will fix api later
Modified Paths:
--------------
pro/scripts/ui/view3d_final_set.py
Modified: pro/scripts/ui/view3d_final_set.py
===================================================================
--- pro/scripts/ui/view3d_final_set.py 2010-04-19 13:11:49 UTC (rev 2172)
+++ pro/scripts/ui/view3d_final_set.py 2010-04-19 13:29:13 UTC (rev 2173)
@@ -8,7 +8,7 @@
def execute(self, context):
obj = bpy.data.objects.get("!final")
if obj:
- context.scene.visible_layers[:] = obj.layers
+ context.scene.visible_layers = obj.layers
return {'FINISHED'}
else:
self.report({'ERROR'}, "Object '!final' not found.")
More information about the Durian-svn
mailing list