Recast/detour: fix some property enum identifiers to follow conventions.

This commit is contained in:
Brecht Van Lommel
2011-09-17 13:33:03 +00:00
parent 3232102cb8
commit e53c4dae54
2 changed files with 5 additions and 5 deletions

View 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");

View 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);