fix for error in simpledeform modifier ui
authorMatt Ebb <matt@mke3.net>
Fri, 27 Nov 2009 06:22:55 +0000 (06:22 +0000)
committerMatt Ebb <matt@mke3.net>
Fri, 27 Nov 2009 06:22:55 +0000 (06:22 +0000)
release/scripts/ui/properties_data_modifier.py

index 46355bacd02091ed52d74430e6769caeb046b331..26b2c2a34f2b59736e86929b63c123a4b0579791 100644 (file)
@@ -548,7 +548,7 @@ class DATA_PT_modifiers(DataButtonsPanel):
         col.label(text="Origin:")
         col.prop(md, "origin", text="")
         sub = col.column()
-        sub.active = md.origin
+        sub.active = (md.origin != "")
         sub.prop(md, "relative")
 
         if wide_ui: