Fix #112904: Outliner: Bones appear in different places in different modes
c6b553d57c added the bone collection in
outliner. However, there is change in tree element order when switched
between pose and edit/object mode. Because order of tree building is
`edit bones -> bone collection -> pose bones`
To keep tree structure consistent between different modes, first draw
pose bone and then the ebone/bone collection.
Pull Request: https://projects.blender.org/blender/blender/pulls/112908
This commit is contained in:
committed by
Pratik Borhade
parent
73460903fa
commit
9c20a29259
@@ -40,9 +40,8 @@ void TreeElementIDObject::expand(SpaceOutliner & /*space_outliner*/) const
|
||||
object_.id.newid = (ID *)(&legacy_te_);
|
||||
|
||||
expand_animation_data(object_.adt);
|
||||
|
||||
expand_data();
|
||||
expand_pose();
|
||||
expand_data();
|
||||
expand_materials();
|
||||
expand_constraints();
|
||||
expand_modifiers();
|
||||
|
||||
Reference in New Issue
Block a user