Fix T55408: Double transforms on parents/children.
object.base_flag was not synced back from evaluated ID to original one. Similar thing as copying back to original transform matrix, avoids having to get data from evaluated one in lots of cases.
This commit is contained in:
parent
76bc8669a0
commit
995a1815f5
Notes:
blender-bot
2023-02-21 17:59:30 +01:00
Referenced by issue #55408, Double transforms on parents/children
|
@ -404,6 +404,12 @@ void BKE_object_eval_flush_base_flags(Depsgraph *depsgraph,
|
|||
object->base_flag &= ~(BASE_SELECTED | BASE_SELECTABLED);
|
||||
}
|
||||
|
||||
/* Copy to original object datablock if needed. */
|
||||
if (DEG_is_active(depsgraph)) {
|
||||
Object *object_orig = DEG_get_original_object(object);
|
||||
object_orig->base_flag = object->base_flag;
|
||||
}
|
||||
|
||||
if (object->mode == OB_MODE_PARTICLE_EDIT) {
|
||||
for (ParticleSystem *psys = object->particlesystem.first;
|
||||
psys != NULL;
|
||||
|
|
Loading…
Reference in New Issue