[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32002] trunk/blender/release/scripts/ui/ properties_physics_common.py: Fix #23850: hide cloth cache step from the UI because it can only be set to 1
Brecht Van Lommel
brechtvanlommel at pandora.be
Sat Sep 18 17:57:42 CEST 2010
Revision: 32002
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32002
Author: blendix
Date: 2010-09-18 17:57:42 +0200 (Sat, 18 Sep 2010)
Log Message:
-----------
Fix #23850: hide cloth cache step from the UI because it can only be set to 1
anyway, which is confusing.
Modified Paths:
--------------
trunk/blender/release/scripts/ui/properties_physics_common.py
Modified: trunk/blender/release/scripts/ui/properties_physics_common.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_physics_common.py 2010-09-18 15:30:03 UTC (rev 32001)
+++ trunk/blender/release/scripts/ui/properties_physics_common.py 2010-09-18 15:57:42 UTC (rev 32002)
@@ -60,7 +60,7 @@
col.enabled = enabled
col.prop(cache, "frame_start")
col.prop(cache, "frame_end")
- if cachetype != 'SMOKE':
+ if cachetype not in ('SMOKE', 'CLOTH'):
col.prop(cache, "frame_step")
col = split.column()
More information about the Bf-blender-cvs
mailing list