Fix: overlays are reset when selection is being performed
/me hits myself in the head. In selection code the flags were not tested but set directly.
This commit is contained in:
parent
c450966e95
commit
d5a359b1d4
|
@ -1618,8 +1618,8 @@ void DRW_draw_select_loop(
|
|||
obedit_mode = CTX_MODE_EDIT_ARMATURE;
|
||||
}
|
||||
}
|
||||
if (v3d->overlay.flag &= V3D_OVERLAY_BONE_SELECTION) {
|
||||
if (!(v3d->flag2 &= V3D_RENDER_OVERRIDE)) {
|
||||
if (v3d->overlay.flag & V3D_OVERLAY_BONE_SELECTION) {
|
||||
if (!(v3d->flag2 & V3D_RENDER_OVERRIDE)) {
|
||||
Object *obpose = OBPOSE_FROM_OBACT(obact);
|
||||
if (obpose) {
|
||||
use_obedit = true;
|
||||
|
|
Loading…
Reference in New Issue