reference to INDIVIDUAL_CENTERS causing error
authorCampbell Barton <ideasman42@gmail.com>
Wed, 9 Dec 2009 00:03:18 +0000 (00:03 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 9 Dec 2009 00:03:18 +0000 (00:03 +0000)
source/blender/editors/space_view3d/view3d_ops.c
source/blender/makesrna/intern/rna_space.c

index 3b60d4d555fff96b402f04fe12d44896a4e889f0..bc8d34b407b9a05b9093f1da93d0433240f9f359 100644 (file)
@@ -266,7 +266,7 @@ void view3d_keymap(wmKeyConfig *keyconf)
 
        kmi = WM_keymap_add_item(keymap, "WM_OT_context_set_enum", PERIODKEY, KM_PRESS, KM_CTRL, 0);
        RNA_string_set(kmi->ptr, "path", "space_data.pivot_point");
-       RNA_string_set(kmi->ptr, "value", "INDIVIDUAL_CENTERS");
+       RNA_string_set(kmi->ptr, "value", "INDIVIDUAL_ORIGINS");
 
        kmi = WM_keymap_add_item(keymap, "WM_OT_context_set_enum", PERIODKEY, KM_PRESS, KM_ALT, 0);
        RNA_string_set(kmi->ptr, "path", "space_data.pivot_point");
index 28784e0e666367b174eac381a3cf8fb8d0e4dde5..ef72b6cbf1f509ffc8a9056b41e8d25515dbd895 100644 (file)
@@ -1316,7 +1316,7 @@ static void rna_def_space_graph(BlenderRNA *brna)
        static EnumPropertyItem gpivot_items[] = {
                {V3D_CENTER, "BOUNDING_BOX_CENTER", ICON_ROTATE, "Bounding Box Center", ""},
                {V3D_CURSOR, "CURSOR", ICON_CURSOR, "2D Cursor", ""},
-               {V3D_LOCAL, "INDIVIDUAL_CENTERS", ICON_ROTATECOLLECTION, "Individual Centers", ""},
+               {V3D_LOCAL, "INDIVIDUAL_ORIGINS", ICON_ROTATECOLLECTION, "Individual Centers", ""},
                //{V3D_CENTROID, "MEDIAN_POINT", 0, "Median Point", ""},
                //{V3D_ACTIVE, "ACTIVE_ELEMENT", 0, "Active Element", ""},
                {0, NULL, 0, NULL, NULL}};