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-03-12 14:22:21 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-03-26 16:13:37 +0300
commitb592669097a067353766943cf0307ce0c49f37ca (patch)
tree45208ae4905fd1d9265be4c9c876016b75049acc /release
parent39af6d71cf05f405c74d54115fb711ca5fa31662 (diff)
Simple operator to force rebuilding of a dupligroup cache.
This is a placeholder for proper depsgraph integration. Eventually frame changes and some other updates should rebuild dupligroup caches automatically using the depsgraph. Until then this operator is a quick way to test the IO from caches and the further drawing and rendering (TODO).
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_object.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_object.py b/release/scripts/startup/bl_ui/properties_object.py
index 3ff7a248c60..15c25a7a4cc 100644
--- a/release/scripts/startup/bl_ui/properties_object.py
+++ b/release/scripts/startup/bl_ui/properties_object.py
@@ -294,6 +294,7 @@ class OBJECT_PT_duplication(ObjectButtonsPanel, Panel):
elif ob.dupli_type == 'GROUP':
layout.prop(ob, "dupli_group", text="Group")
+ layout.operator("cachelibrary.rebuild_dupligroup")
class OBJECT_PT_relations_extras(ObjectButtonsPanel, Panel):