Recast/detour: fix some property enum identifiers to follow conventions.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Sat, 17 Sep 2011 13:33:03 +0000 (13:33 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Sat, 17 Sep 2011 13:33:03 +0000 (13:33 +0000)
source/blender/makesrna/intern/rna_actuator.c
source/blender/makesrna/intern/rna_scene.c

index 7356af0..6aff68a 100644 (file)
@@ -1931,9 +1931,9 @@ static void rna_def_steering_actuator(BlenderRNA *brna)
                {1, "X", 0, "X", ""},
                {2, "Y", 0, "Y", ""},
                {3, "Z", 0, "Z", ""},
-               {4, "-X", 0, "-X", ""},
-               {5, "-Y", 0, "-Y", ""},
-               {6, "-Z", 0, "-Z", ""},
+               {4, "NEG_X", 0, "-X", ""},
+               {5, "NEG_Y", 0, "-Y", ""},
+               {6, "NEG_Z", 0, "-Z", ""},
                {0, NULL, 0, NULL, NULL}};
 
        srna= RNA_def_struct(brna, "SteeringActuator", "Actuator");
index 2377c88..76d7c31 100644 (file)
@@ -1811,8 +1811,8 @@ static void rna_def_scene_game_data(BlenderRNA *brna)
 
        static EnumPropertyItem obstacle_simulation_items[] = {
                {OBSTSIMULATION_NONE, "NONE", 0, "None", ""},
-               {OBSTSIMULATION_TOI_rays, "RVO (rays)", 0, "RVO (rays)", ""},
-               {OBSTSIMULATION_TOI_cells, "RVO (cells)", 0, "RVO (cells)", ""},
+               {OBSTSIMULATION_TOI_rays, "RVO_RAYS", 0, "RVO (rays)", ""},
+               {OBSTSIMULATION_TOI_cells, "RVO_CELLS", 0, "RVO (cells)", ""},
                {0, NULL, 0, NULL, NULL}};
 
        srna= RNA_def_struct(brna, "SceneGameData", NULL);