Correct error in cage2d draw style enum
authorCampbell Barton <ideasman42@gmail.com>
Mon, 18 Sep 2017 13:02:00 +0000 (23:02 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 18 Sep 2017 13:02:27 +0000 (23:02 +1000)
source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c

index 751f8c3afb6c609e0cede891dcde1711eb223f41..d1902864d5750f68d75f4310a89b3ddcc69ba958 100644 (file)
@@ -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[] = {