Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-09-17 17:33:03 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-09-17 17:33:03 +0400
commite53c4dae546f9550d6a4e79ae87c3dee9ac7b650 (patch)
tree4c6f478dda6058c76fd866b6a8f0164c1516f175
parent3232102cb8c50ff4463ab0d0de3f47d3196d66ea (diff)
Recast/detour: fix some property enum identifiers to follow conventions.
-rw-r--r--source/blender/makesrna/intern/rna_actuator.c6
-rw-r--r--source/blender/makesrna/intern/rna_scene.c4
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);