Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Tönne <lukas.toenne@gmail.com>2015-02-24 22:54:21 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-03-26 16:10:34 +0300
commit0eaff16da8f11e5a648f9cbfae8487eb1dc62f2a (patch)
treebf1bb1f83ec98c98bfa43885479b5b2d82d14e5b /release
parent2146d7b9c974c3ff97eda943a1bfa304c4f38c12 (diff)
General support for export to/import from Alembic files based on Cache
Libraries.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_scene.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_scene.py b/release/scripts/startup/bl_ui/properties_scene.py
index 36d3143d9bd..a702b2a2a3b 100644
--- a/release/scripts/startup/bl_ui/properties_scene.py
+++ b/release/scripts/startup/bl_ui/properties_scene.py
@@ -413,7 +413,6 @@ class SCENE_PT_cache_manager(SceneButtonsPanel, Panel):
item = cachelib.cache_item_find(ob, type, index)
if not item:
sub = layout.row()
- sub.context_pointer_set("cache_library", cachelib)
sub.context_pointer_set("cache_object", ob)
props = sub.operator("cachelibrary.item_enable", text="", icon='ZOOMIN', emboss=True)
props.type = type
@@ -462,6 +461,7 @@ class SCENE_PT_cache_manager(SceneButtonsPanel, Panel):
self.draw_cache_item(context, sub, cachelib, ob, 'HAIR', index)
self.draw_cache_item(context, sub, cachelib, ob, 'HAIR_PATHS', index)
+ layout.operator("cachelibrary.bake")
def draw(self, context):
@@ -470,6 +470,8 @@ class SCENE_PT_cache_manager(SceneButtonsPanel, Panel):
layout.operator("cachelibrary.new")
for cachelib in context.blend_data.cache_libraries:
box = layout.box()
+ box.context_pointer_set("cache_library", cachelib)
+
box.prop(cachelib, "filepath")
box.template_ID(cachelib, "group")
self.draw_cachelib(context, box, cachelib)