[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3607] trunk/py/scripts/addons/ object_fracture_cell/__init__.py: fix previous commit and default layer
Campbell Barton
ideasman42 at gmail.com
Tue Jul 10 10:34:52 CEST 2012
Revision: 3607
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3607
Author: campbellbarton
Date: 2012-07-10 08:34:51 +0000 (Tue, 10 Jul 2012)
Log Message:
-----------
fix previous commit and default layer
Modified Paths:
--------------
trunk/py/scripts/addons/object_fracture_cell/__init__.py
Modified: trunk/py/scripts/addons/object_fracture_cell/__init__.py
===================================================================
--- trunk/py/scripts/addons/object_fracture_cell/__init__.py 2012-07-10 08:27:31 UTC (rev 3606)
+++ trunk/py/scripts/addons/object_fracture_cell/__init__.py 2012-07-10 08:34:51 UTC (rev 3607)
@@ -147,7 +147,7 @@
group = bpy.data.groups.new(group_name)
group_objects = group.objects[:]
for obj_cell in objects:
- if not in group_objects:
+ if obj_cell not in group_objects:
group.objects.link(obj_cell)
if kw_copy["use_debug_redraw"]:
@@ -316,7 +316,7 @@
use_layer_index = IntProperty(
name="Layer Index",
description="Layer to add the objects into or 0 for existing",
- default=-1,
+ default=0,
min=0, max=20,
)
@@ -415,7 +415,7 @@
rowsub.prop(self, "use_layer_index")
rowsub.prop(self, "use_layer_next")
rowsub.prop(self, "group_name")
-
+
box = layout.box()
col = box.column()
col.label("Debug")
More information about the Bf-extensions-cvs
mailing list