Blender Git Loki

Git Commits -> Revision fccc665

March 23, 2015, 11:22 (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: fccc665162ce27019b5f6c39296a7d5f62777a43
Parent Commit: b321526
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