Blender Git Commit Log

Git Commits -> Revision 2b7752f

Revision 2b7752f by Dalai Felinto (master)
February 15, 2019, 17:52 (GMT)
Fix T61210: Crash/inconsistency when clicking on obdata in outliner

The problem
===========
For armature, if the active object was in pose mode and the newly
selected armature data (not the pose, but the edit armature) we would
get a crash.

For mesh objects, the issue would happen with the active object in object mode.
Then the new selected object would switch to edit mode, however the overall
mode would still be object mode, leading to unsynced mode across the objects.

The solution
============
Using shift to extend selection makes current selected (compatible)
objects to go to edit mode as well. Otherwise only the newly selected
object will switch to edit mode.

This also works if you are in edit mode for a curve, and click in a mesh icon.

This also changes the rules for multi-object editing (or rather, how we
put objects in and out of it). Now shirt is also taking into
consideration there. So if you simply click in another mesh object's
data, it will have only the newly selected object in edit mode.

To reproduce the old behaviour you need to use shift to include the
newly selected object in the multi-edit party.

Reviewers: campbellbarton

Subscribers: brecht

Differential Revision: https://developer.blender.org/D4344

Commit Details:

Full Hash: 2b7752fb00737d29200d6c0aeb6a782b1a969c65
Parent Commit: db3bfd0
Lines Changed: +99, -44

1 Modified Path:

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