diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2015-03-12 14:22:21 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-03-26 16:13:37 +0300 |
commit | b592669097a067353766943cf0307ce0c49f37ca (patch) | |
tree | 45208ae4905fd1d9265be4c9c876016b75049acc /release | |
parent | 39af6d71cf05f405c74d54115fb711ca5fa31662 (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.py | 1 |
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): |