diff --git a/SynthDet/Assets/Scripts/Editor/MenuItems.cs b/SynthDet/Assets/Scripts/Editor/MenuItems.cs index fa77f134..45f8c77f 100644 --- a/SynthDet/Assets/Scripts/Editor/MenuItems.cs +++ b/SynthDet/Assets/Scripts/Editor/MenuItems.cs @@ -25,32 +25,6 @@ namespace SynthDet Debug.LogError("Could not open the SynthDet Scene. Make sure the file Assets/Scenes/SynthDet.unity exists and is a valid Scene."); Debug.LogException(e); } - } - - [MenuItem("SynthDet/Recreate Default SynthDet Scenario")] - static void CreateDefaultScenario() - { - var scenarioObj = new GameObject("Scenario"); - - var scenario = scenarioObj.AddComponent(); - scenario.constants.totalIterations = 1000; - - scenario.AddRandomizer(new BackgroundObjectPlacementRandomizer()); - scenario.AddRandomizer(new ForegroundObjectPlacementRandomizer()); - scenario.AddRandomizer(new ForegroundOccluderPlacementRandomizer()); - scenario.AddRandomizer(new ForegroundOccluderScaleRandomizer()); - scenario.AddRandomizer(new ForegroundScaleRandomizer()); - scenario.AddRandomizer(new TextureRandomizer()); - scenario.AddRandomizer(new HueOffsetRandomizer()); - scenario.AddRandomizer(new RotationRandomizer()); - scenario.AddRandomizer(new UnifiedRotationRandomizer()); - scenario.AddRandomizer(new LightRandomizer()); - scenario.AddRandomizer(new CameraRandomizer()); - scenario.AddRandomizer(new ForegroundObjectMetricReporter()); - scenario.AddRandomizer(new LightingInfoMetricReporter()); - scenario.AddRandomizer(new CameraPostProcessingMetricReporter()); - - Selection.activeGameObject = scenarioObj; - } + } } }