Blender Git Loki

Git Commits -> Revision 58375c6

Revision 58375c6 by Lukas Toenne (alembic_pointcache)
February 26, 2015, 10:50 (GMT)
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.

Commit Details:

Full Hash: 58375c6f382f4f5aa33deee4d67e2d194ecf4d4d
Parent Commit: 29c0a6b
Lines Changed: +255, -338

1 Added Path:

/source/blender/modifiers/intern/MOD_cache.c (+143, -0) (View)

1 Deleted Path:

/source/blender/modifiers/intern/MOD_pointcache.c (+0, -168)

15 Modified Paths:

/release/scripts/startup/bl_ui/properties_data_modifier.py (+3, -6) (Diff)
/source/blender/blenkernel/BKE_DerivedMesh.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+23, -31) (Diff)
/source/blender/editors/io/io_cache_library.c (+6, -1) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+7, -5) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+8, -9) (Diff)
/source/blender/modifiers/CMakeLists.txt (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_util.c (+1, -1) (Diff)
/source/blender/modifiers/MOD_modifiertypes.h (+1, -1) (Diff)
/source/blender/pointcache/alembic/abc_mesh.cpp (+5, -19) (Diff)
/source/blender/pointcache/alembic/abc_mesh.h (+32, -5) (Diff)
/source/blender/pointcache/intern/alembic.h (+4, -3) (Diff)
/source/blender/pointcache/PTC_api.cpp (+14, -72) (Diff)
/source/blender/pointcache/PTC_api.h (+4, -15) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021