Page MenuHome

Apply transforms on parents and children
Open, Confirmed, MediumPublic

Description

Blender Version
Broken: 2.8 5073ee0bb27

Short description of error
When a parent and it's children are selected and you apply the transforms, the parenting relation is ignored.
If the parent is scaled to 0.5 in all axes and the child is still at a scale of 1, and all get their scale applied, the parent gets set back to 1 and the child will grow to twice the size with a scale of 1.

Details

Type
Bug

Event Timeline

Looked into this, the issue is apply-transform modifies the original data, then immediately evaluates parent/child relationships - which now use CoW evaluated meshes which don't have the changes from the source objects.

Looking into this further, the evaluated objects are used inconsistently, see: BKE_object_workob_calc_parent.

Note: issue is in apply_objects_internal - problem funcs are around ignore_parent_tx.

As far as I can see the solution is not to mix evaluated & original object matrices - Or, rewrite this operator to work in a completely different way,

This relates to policy for handling copy on write, assigning to @Sergey Sharybin (sergey).

Bastien Montagne (mont29) triaged this task as Confirmed, Medium priority.Jul 20 2018, 4:23 PM