diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-10-16 13:48:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-10-16 14:16:53 +0300 |
commit | 4475c49e2f901ba034b086ca856848ee2071af34 (patch) | |
tree | 330532f16392ffc11c22a7bf97c40311f170609e /source/blender/blenloader/intern/readfile.c | |
parent | 3b84dce96967e7a9fe568e2518ee774843d48733 (diff) |
Fix T81591: Align view to active is not working in sculpt mode
Remove sculpt/paint checks in getTransformOrientation_ex
This code goes back a long time (early 2.5x). I couldn't find any
reason why sculpt/paint checks were being made.
This makes the following changes:
- When in object mode, the object must be selected.
Since this function typically operates on the selected items.
- When in paint/particle modes, the objects matrix is always
used regardless of selection, since object selection can't be
controlled in these modes.
- When there is no active object, the first selected object is no
longer used as it's quite an arbitrary decision & not something
done elsewhere with objects in Blender.
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
0 files changed, 0 insertions, 0 deletions