From e53c4dae546f9550d6a4e79ae87c3dee9ac7b650 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sat, 17 Sep 2011 13:33:03 +0000 Subject: Recast/detour: fix some property enum identifiers to follow conventions. --- source/blender/makesrna/intern/rna_actuator.c | 6 +++--- source/blender/makesrna/intern/rna_scene.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/blender/makesrna/intern/rna_actuator.c b/source/blender/makesrna/intern/rna_actuator.c index 7356af05dcb..6aff68a9c09 100644 --- a/source/blender/makesrna/intern/rna_actuator.c +++ b/source/blender/makesrna/intern/rna_actuator.c @@ -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"); diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 2377c88113a..76d7c3153d8 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -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); -- cgit v1.2.3