Blender Git Commit Log

Git Commits -> Revision 9151095

Revision 9151095 by Bastien Montagne (master)
May 3, 2016, 13:11 (GMT)
Fix T48328: Outliner: Armature EditMode: crash when selecting bone of a shared amrature in another object's bone list.

Basically, issue is that outliner stores editbones for an edited armature, which are only valid during EditMode.

When more than one object use the same armature, selecting ebones from same armature but under non-edited object
would first select that object (and hence switch out of editmode), and then try to select editbone while editdata
no more exist.

Solution for now is to not change active object in this case - it's not totally ideal (not consistent),
but other solutions (like switching edited object without leaving editmode, or rebuilding (part of)
outliner tree in-between) are horribly hackish and most likely prone to epic failure anyway.

Commit Details:

Full Hash: 9151095dbe1d43eb1af978e86233e6eb9dd29f26
Parent Commit: cb63071
Lines Changed: +7, -2

1 Modified Path:

/source/blender/editors/space_outliner/outliner_select.c (+7, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021