Blender Git Loki

Git Commits -> Revision cebafc9

Revision cebafc9 by Nathan Craddock (soc-2020-outliner)
July 24, 2020, 03:33 (GMT)
Outliner: Remove outliner parent object selection

In order to fix T74332 it was necessary to flag parent elements as
selected in the outliner to prevent the bases from being deselected on
the selection sync. This ensures the parent object is selected for
editing drivers, etc.

An annoying issue that results from this is the context menu shows
Object entries even when the target is a data (material, action, bone)
type. This also causes issues with drag and drop and other operations.

This adds a new TSE flag to prevent a selection sync on a per-element
case. This is used to prevent a parent element sync which ensures the
parent object stays selected, but it does not draw as selected in the
outliner.

Commit Details:

Full Hash: cebafc9854f61b3776524ea9d7586b03afc8af2f
Parent Commit: a3fd574
Lines Changed: +16, -12

3 Modified Paths:

/source/blender/editors/space_outliner/outliner_select.c (+6, -9) (Diff)
/source/blender/editors/space_outliner/outliner_sync.c (+8, -3) (Diff)
/source/blender/makesdna/DNA_outliner_types.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021