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-26 13:50:56 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-03-26 16:11:17 +0300
commitb61334cc84e0732b064dfe7b3b05e13beea6c258 (patch)
treefd463c5e44a4f2f83c827cf3cd4fe6f246ac4596 /release
parent29bf328e4187210edf60189fee68a8de06738eee (diff)
Changed implementation of the Cache modifier to work in tandem with the
cache library system. The Cache modifier is now an optional "break point" of the modifier stack: - Without a cache modifier the stack works as before. Baking will write the final stack result. After baking the cache replaces the whole stack. - With a cache modifier the stack result at the modifier's position is stored. The cache is then applied as the output of that modifier, skipping preceding modifiers. That way additional modifiers can be applied on top of the cache. - When using multiple cache modifiers, only the last (active) one will be used, since all previous cache results would be discarded anyway.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_modifier.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py
index d57bdfb81a9..4d868490f3c 100644
--- a/release/scripts/startup/bl_ui/properties_data_modifier.py
+++ b/release/scripts/startup/bl_ui/properties_data_modifier.py
@@ -169,6 +169,9 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
sub.active = md.use_random_order
sub.prop(md, "seed")
+ def CACHE(self, layout, ob, md):
+ pass
+
def MESH_CACHE(self, layout, ob, md):
layout.prop(md, "cache_format")
layout.prop(md, "filepath")
@@ -679,12 +682,6 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
def PARTICLE_SYSTEM(self, layout, ob, md):
layout.label(text="Settings can be found inside the Particle context")
- def POINT_CACHE(self, layout, ob, md):
- col = layout.column()
- col.context_pointer_set("point_cache", md.point_cache)
- col.context_pointer_set("point_cache_user", md)
- col.operator("PTCACHE_OT_export")
-
def SCREW(self, layout, ob, md):
split = layout.split()