diff options
author | Thomas Dinges <blender@dingto.org> | 2013-12-13 13:20:35 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-12-13 13:20:35 +0400 |
commit | 9e30783585642643968c8f15415240371b4e8be1 (patch) | |
tree | 5aa166965280a564615906a574cb03a544c6d19d | |
parent | 5a91df32713b7ad9be6befa7124b31890063d91b (diff) |
Interface / PointCache: Remove name fields here as well, not needed anymore due to direct rename in uiList.
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_common.py | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_common.py b/release/scripts/startup/bl_ui/properties_physics_common.py index 4b4c331d2d8..4df8eab7d10 100644 --- a/release/scripts/startup/bl_ui/properties_physics_common.py +++ b/release/scripts/startup/bl_ui/properties_physics_common.py @@ -122,14 +122,11 @@ def point_cache_ui(self, context, cache, enabled, cachetype): if cache.use_external: split = layout.split(percentage=0.35) col = split.column() - col.label(text="File Name:") - if cache.use_external: - col.label(text="File Path:") + col.label(text="Index Number:") + col.label(text="File Path:") col = split.column() - sub = col.split(percentage=0.70, align=True) - sub.prop(cache, "name", text="") - sub.prop(cache, "index", text="") + col.prop(cache, "index", text="") col.prop(cache, "filepath", text="") cache_info = cache.info @@ -141,11 +138,6 @@ def point_cache_ui(self, context, cache, enabled, cachetype): layout.label(text="Cache is disabled until the file is saved") layout.enabled = False - if cache.use_disk_cache: - layout.prop(cache, "name", text="File Name") - else: - layout.prop(cache, "name", text="Cache Name") - if not cache.use_external or cachetype == 'SMOKE': row = layout.row(align=True) |