diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2015-03-19 21:19:23 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-03-19 21:19:23 +0300 |
commit | 0a7a4d504b6790d8768d8e86bf0e8765c39aec71 (patch) | |
tree | 50c7b7deee178cc047acba1d1fffb88b66d49e35 /release/scripts/startup/bl_ui/properties_object.py | |
parent | 08017eef6238006f27068c8eaead3f8bd2a0d719 (diff) |
Allow cache libraries to store both render and realtime (viewport) data.
This is the default now. It should make workflow a lot more foolproof
and convenient, since having only one of these modes active at a time
very easily leads to broken renders and confusing situations.
The problem is mostly due to the complicated way the depsgraph layer
feature is used to handle duplicator visibility. The duplicator is
declared as a child of its group's objects (even though no real
dependency exists!), so that a visible duplicator triggers updates of
invisible group objects, making instances of hidden groups possible.
However, dupli caches have to disable this dependency in order to avoid
unnecessary costly updates in hidden layers which are overridden by
cached data anyway. At the point where these dependencies are created
the evaluation context is unknown though, which means we cannot
distinguish between render and realtime evaluation for the purpose of
cache reading ...
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_object.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_object.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_object.py b/release/scripts/startup/bl_ui/properties_object.py index 7aa82c58479..a36d321f9f4 100644 --- a/release/scripts/startup/bl_ui/properties_object.py +++ b/release/scripts/startup/bl_ui/properties_object.py @@ -340,7 +340,8 @@ class OBJECT_PT_duplication(ObjectButtonsPanel, Panel): row.prop(ob, "use_dupli_cache_read", text="Read", toggle=True) row.prop(ob, "use_dupli_cache_write", text="Write", toggle=True) col.operator("cachelibrary.bake") - col.prop(cachelib, "eval_mode", expand=False) + row = col.row(align=True) + row.prop(cachelib, "eval_mode", toggle=True, expand=True) row = layout.row(align=True) row.label("Filter:") |