Blender Git Commit Log

Git Commits -> Revision 6d67e67

Revision 6d67e67 by Lukas Toenne (alembic_pointcache)
March 9, 2015, 08:44 (GMT)
Ugly hack for caching code to deal with quirky modifier stack behavior.

CustomData layers are pruned by the CDDM_copy function when they have
CD_FLAG_NOCOPY set. This is based on later modifiers in the stack, which
can specify that they require certain data layers - but the caching
modifier itself should store only what is needed by later modifiers.
It means we cannot easily keep a full copy of the DM in the cache
modifier to writing into caches later.

For now the hackish solution is to temporarily disable NOCOPY flags when
copying the DM. This is really not nice and needs a better solution.

Commit Details:

Full Hash: 6d67e67022a866c1329f71b854b2df15f98a8835
Parent Commit: 5bd80e9
Lines Changed: +77, -2

1 Modified Path:

/source/blender/modifiers/intern/MOD_cache.c (+77, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021