Fix T76045 Gizmo: line_width does not work in latest version
This commit is contained in:
parent
4d5af14852
commit
933c721ccb
Notes:
blender-bot
2024-03-22 15:57:27 +01:00
Referenced by issue #76045, Gizmo line_width does not work in latest version
|
@ -106,7 +106,8 @@ static void move_geom_draw(const wmGizmo *gz,
|
|||
wm_gizmo_geometryinfo_draw(&wm_gizmo_geom_data_move3d, select);
|
||||
#else
|
||||
const int draw_style = RNA_enum_get(gz->ptr, "draw_style");
|
||||
const bool filled = ((draw_options & (select ? (ED_GIZMO_MOVE_DRAW_FLAG_FILL |
|
||||
const bool filled = (draw_style != ED_GIZMO_MOVE_STYLE_CROSS_2D) &&
|
||||
((draw_options & (select ? (ED_GIZMO_MOVE_DRAW_FLAG_FILL |
|
||||
ED_GIZMO_MOVE_DRAW_FLAG_FILL_SELECT) :
|
||||
ED_GIZMO_MOVE_DRAW_FLAG_FILL)));
|
||||
|
||||
|
|
Loading…
Reference in New Issue