Code cleanup:

* Remove some old RNA code for physics engines other than Bullet.
This commit is contained in:
Thomas Dinges 2013-02-21 17:52:07 +00:00
parent b25ba60afe
commit 127c2bbf86
2 changed files with 0 additions and 16 deletions

@ -2441,10 +2441,6 @@ static void rna_def_scene_game_data(BlenderRNA *brna)
static EnumPropertyItem physics_engine_items[] = {
{WOPHY_NONE, "NONE", 0, "None", "Don't use a physics engine"},
/*{WOPHY_ENJI, "ENJI", 0, "Enji", ""}, */
/*{WOPHY_SUMO, "SUMO", 0, "Sumo (Deprecated)", ""}, */
/*{WOPHY_DYNAMO, "DYNAMO", 0, "Dynamo", ""}, */
/*{WOPHY_ODE, "ODE", 0, "ODE", ""}, */
{WOPHY_BULLET, "BULLET", 0, "Bullet", "Use the Bullet physics engine"},
{0, NULL, 0, NULL, NULL}
};

@ -494,18 +494,6 @@ void RNA_def_world(BlenderRNA *brna)
StructRNA *srna;
PropertyRNA *prop;
#if 0
static EnumPropertyItem physics_engine_items[] = {
{WOPHY_NONE, "NONE", 0, "None", ""},
/*{WOPHY_ENJI, "ENJI", 0, "Enji", ""}, */
/*{WOPHY_SUMO, "SUMO", 0, "Sumo (Deprecated)", ""}, */
/*{WOPHY_DYNAMO, "DYNAMO", 0, "Dynamo", ""}, */
/*{WOPHY_ODE, "ODE", 0, "ODE", ""}, */
{WOPHY_BULLET, "BULLET", 0, "Bullet", ""},
{0, NULL, 0, NULL, NULL}
};
#endif
srna = RNA_def_struct(brna, "World", "ID");
RNA_def_struct_ui_text(srna, "World",
"World datablock describing the environment and ambient lighting of a scene");