Code cleanup:
authorThomas Dinges <blender@dingto.org>
Thu, 21 Feb 2013 17:52:07 +0000 (17:52 +0000)
committerThomas Dinges <blender@dingto.org>
Thu, 21 Feb 2013 17:52:07 +0000 (17:52 +0000)
* Remove some old RNA code for physics engines other than Bullet.

source/blender/makesrna/intern/rna_scene.c
source/blender/makesrna/intern/rna_world.c

index 833d8e6addba6d066c79082a0f0a7ae09a5c2a1a..b3c977809fb91d5bf37c392336893dddbc4542b7 100644 (file)
@@ -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}
        };
index 7a94566c6ee8f8ac44beb71f45055a85eaa0afdb..02a04d36c23835a9759cf1129591e83faf934644 100644 (file)
@@ -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");