Fix T37495: Duplis weren't handling negative scaled objects properly.
This commit is contained in:
parent
67aff56c01
commit
2d4bfc5e60
Notes:
blender-bot
2023-02-14 11:35:40 +01:00
Referenced by issue #37495, Bad normal drawing when 2 levels of mirrored groups
|
@ -2037,8 +2037,11 @@ static void draw_dupli_objects_color(Scene *scene, ARegion *ar, View3D *v3d, Bas
|
|||
|
||||
/* negative scale flag has to propagate */
|
||||
transflag = tbase.object->transflag;
|
||||
if (base->object->transflag & OB_NEG_SCALE)
|
||||
tbase.object->transflag ^= OB_NEG_SCALE;
|
||||
|
||||
if (is_negative_m4(dob->mat))
|
||||
tbase.object->transflag |= OB_NEG_SCALE;
|
||||
else
|
||||
tbase.object->transflag &= ~OB_NEG_SCALE;
|
||||
|
||||
UI_ThemeColorBlend(color, TH_BACK, 0.5);
|
||||
|
||||
|
|
Loading…
Reference in New Issue