[Bf-blender-cvs] [e6d5b94e832] blender2.8: Correct error in cage2d draw style enum

Campbell Barton noreply at git.blender.org
Mon Sep 18 14:55:05 CEST 2017


Commit: e6d5b94e83256b4a79c71667054b402f4dfb8232
Author: Campbell Barton
Date:   Mon Sep 18 23:02:00 2017 +1000
Branches: blender2.8
https://developer.blender.org/rBe6d5b94e83256b4a79c71667054b402f4dfb8232

Correct error in cage2d draw style enum

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

M	source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c

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

diff --git a/source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c b/source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c
index 751f8c3afb6..d1902864d57 100644
--- a/source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c
+++ b/source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c
@@ -1076,7 +1076,7 @@ static void MANIPULATOR_WT_cage_2d(wmManipulatorType *wt)
 	/* rna */
 	static EnumPropertyItem rna_enum_draw_style[] = {
 		{ED_MANIPULATOR_CAGE2D_STYLE_BOX, "BOX", 0, "Box", ""},
-		{ED_MANIPULATOR_CAGE2D_STYLE_BOX, "CIRCLE", 0, "Circle", ""},
+		{ED_MANIPULATOR_CAGE2D_STYLE_CIRCLE, "CIRCLE", 0, "Circle", ""},
 		{0, NULL, 0, NULL, NULL}
 	};
 	static EnumPropertyItem rna_enum_transform[] = {



More information about the Bf-blender-cvs mailing list