diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-04-26 13:17:46 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-04-26 13:17:46 +0300 |
commit | 8de3778d11bf60dcee7bd38de0f5f648f2be7333 (patch) | |
tree | cf3bc02250904237afcca0e4044184bca16dc24f /source/blender/editors/include/UI_interface.h | |
parent | 88a7d3438dc61674e4fd95698a7feffd3c9c05bb (diff) |
Getting rid of setlinestyle: 3DView camera view.
Use new 2D dashed line shader in 3DView camera view.
Note that this also involved converting UI_draw_safe_areas() to this
dashed shader, which means it cannot be used anymore with other shaders.
Part of D2647.
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 6146632eaf7..3293b061e76 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -324,7 +324,7 @@ void UI_draw_box_shadow(unsigned char alpha, float minx, float miny, float maxx, void UI_draw_text_underline(int pos_x, int pos_y, int len, int height, const float color[4]); void UI_draw_safe_areas( - unsigned pos, float x1, float x2, float y1, float y2, + uint pos, uint line_origin, float x1, float x2, float y1, float y2, const float title_aspect[2], const float action_aspect[2]); /* state for scrolldrawing */ |