Modifiers: add 'cd_flag' parameter to their ID looping callbacks, needed
since some IDs (objects) are not 'refcounted' while others (textures) are... Partial merge from id-remap branch.
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
|
||||
#include "BKE_cdderivedmesh.h"
|
||||
#include "BKE_lattice.h"
|
||||
#include "BKE_library_query.h"
|
||||
#include "BKE_modifier.h"
|
||||
|
||||
#include "depsgraph_private.h"
|
||||
@@ -87,7 +88,7 @@ static void foreachObjectLink(
|
||||
{
|
||||
LatticeModifierData *lmd = (LatticeModifierData *) md;
|
||||
|
||||
walk(userData, ob, &lmd->object);
|
||||
walk(userData, ob, &lmd->object, IDWALK_NOP);
|
||||
}
|
||||
|
||||
static void updateDepgraph(ModifierData *md, DagForest *forest,
|
||||
|
Reference in New Issue
Block a user