diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-13 14:37:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-13 14:37:04 +0400 |
commit | 60808c5ed6a3b38ffefcdc4714ebdd5a2ae6d327 (patch) | |
tree | 087cdd1773e561ad9b99ec0b5afcffff84bf65de /source | |
parent | b83f105588f2c1d72e185dd9431ffb855a213123 (diff) |
disable openmp thread assert, would fail in cases where the caller was locking for its self (sculpt mode)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index c9387bd776d..2f09354439b 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -589,9 +589,9 @@ static void drawcursor(Scene *scene, ARegion *ar, View3D *v3d) /* we don't want the clipping for cursor */ if (ED_view3d_project_int_global(ar, give_cursor(scene, v3d), co, V3D_PROJ_TEST_NOP) == V3D_PROJ_RET_OK) { - float f5 = 0.25f * U.widget_unit; - float f10 = 0.5f * U.widget_unit; - float f20 = U.widget_unit; + const float f5 = 0.25f * U.widget_unit; + const float f10 = 0.5f * U.widget_unit; + const float f20 = U.widget_unit; setlinestyle(0); cpack(0xFF); |