more rna renaming.

This commit is contained in:
Campbell Barton
2010-08-18 08:26:18 +00:00
parent 513a907730
commit 55ed0f0507
40 changed files with 161 additions and 160 deletions

View File

@@ -29,7 +29,7 @@ def point_cache_ui(self, context, cache, enabled, cachetype):
layout.set_context_pointer("point_cache", cache)
row = layout.row()
row.template_list(cache, "point_cache_list", cache, "active_point_cache_index", rows=2)
row.template_list(cache, "point_caches", cache, "active_point_cache_index", rows=2)
col = row.column(align=True)
col.operator("ptcache.add", icon='ZOOMIN', text="")
col.operator("ptcache.remove", icon='ZOOMOUT', text="")
@@ -84,13 +84,13 @@ def point_cache_ui(self, context, cache, enabled, cachetype):
col = split.column()
if cache.baked == True:
if cache.is_baked == True:
col.operator("ptcache.free_bake", text="Free Bake")
else:
col.operator("ptcache.bake", text="Bake").bake = True
sub = col.row()
sub.enabled = (cache.frames_skipped or cache.outdated) and enabled
sub.enabled = (cache.frames_skipped or cache.is_outdated) and enabled
sub.operator("ptcache.bake", text="Calculate To Frame").bake = False
sub = col.column()