[Bf-blender-cvs] [9e30783] master: Interface / PointCache: Remove name fields here as well, not needed anymore due to direct rename in uiList.
Thomas Dinges
noreply at git.blender.org
Fri Dec 13 10:55:40 CET 2013
Commit: 9e30783585642643968c8f15415240371b4e8be1
Author: Thomas Dinges
Date: Fri Dec 13 10:20:35 2013 +0100
http://developer.blender.org/rB9e30783585642643968c8f15415240371b4e8be1
Interface / PointCache: Remove name fields here as well, not needed anymore due to direct rename in uiList.
===================================================================
M 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 4b4c331..4df8eab 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)
More information about the Bf-blender-cvs
mailing list