[Bf-blender-cvs] [41e22cccee2] blender2.8: Camera widget only drew 3 sides

Campbell Barton noreply at git.blender.org
Sat Jun 17 03:05:31 CEST 2017


Commit: 41e22cccee2ceacabd40143e7e865fb0af252e9d
Author: Campbell Barton
Date:   Sat Jun 17 11:09:08 2017 +1000
Branches: blender2.8
https://developer.blender.org/rB41e22cccee2ceacabd40143e7e865fb0af252e9d

Camera widget only drew 3 sides

===================================================================

M	source/blender/editors/manipulator_library/arrow3d_manipulator.c

===================================================================

diff --git a/source/blender/editors/manipulator_library/arrow3d_manipulator.c b/source/blender/editors/manipulator_library/arrow3d_manipulator.c
index 10d5295edc5..9e38945628f 100644
--- a/source/blender/editors/manipulator_library/arrow3d_manipulator.c
+++ b/source/blender/editors/manipulator_library/arrow3d_manipulator.c
@@ -125,7 +125,7 @@ static void arrow_draw_geom(const ArrowManipulator3D *arrow, const bool select,
 		};
 
 		glLineWidth(arrow->manipulator.line_width);
-		wm_manipulator_vec_draw(color, vec, ARRAY_SIZE(vec), pos, PRIM_LINE_STRIP);
+		wm_manipulator_vec_draw(color, vec, ARRAY_SIZE(vec), pos, PRIM_LINE_LOOP);
 	}
 	else {
 #ifdef USE_MANIPULATOR_CUSTOM_ARROWS




More information about the Bf-blender-cvs mailing list