From 9e30783585642643968c8f15415240371b4e8be1 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Fri, 13 Dec 2013 10:20:35 +0100 Subject: Interface / PointCache: Remove name fields here as well, not needed anymore due to direct rename in uiList. --- release/scripts/startup/bl_ui/properties_physics_common.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'release/scripts/startup/bl_ui/properties_physics_common.py') 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) -- cgit v1.2.3