Fix #23850: hide cloth cache step from the UI because it can only be set to 1

anyway, which is confusing.
This commit is contained in:
Brecht Van Lommel 2010-09-18 15:57:42 +00:00
parent db7a4e530e
commit de9c443ff0

@ -60,7 +60,7 @@ def point_cache_ui(self, context, cache, enabled, cachetype):
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()