Fix T95756: Crash inserting geometry node after linking modifier
The root issue was caused by a mistake in modifier copy data which was
wrongly re-generating source modifier data identifier.
The c8cca88851
simply exposed a bug in code which always was there
since the modifiers session UUID was introduced.
Shows an importance of const qualifier :)
This commit is contained in:
parent
a5edff4b73
commit
6ae08da5c8
Notes:
blender-bot
2023-02-14 09:48:23 +01:00
Referenced by issue #95756, Crash when inserting a new node after linking a geometry nodes modifier to another object
|
@ -391,7 +391,7 @@ void BKE_modifier_copydata_ex(ModifierData *md, ModifierData *target, const int
|
|||
}
|
||||
else {
|
||||
/* In the case copyData made full byte copy force UUID to be re-generated. */
|
||||
BKE_modifier_session_uuid_generate(md);
|
||||
BKE_modifier_session_uuid_generate(target);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue