diff --git a/ai2thor/_quality_settings.py b/ai2thor/_quality_settings.py index 024fe7cfbf..fe58829b2e 100644 --- a/ai2thor/_quality_settings.py +++ b/ai2thor/_quality_settings.py @@ -1,13 +1,11 @@ # GENERATED FILE - DO NOT EDIT -DEFAULT_QUALITY = "Ultra" -QUALITY_SETTINGS = { - "DONOTUSE": 0, - "High": 5, - "High WebGL": 8, - "Low": 2, - "Medium": 3, - "MediumCloseFitShadows": 4, - "Ultra": 7, - "Very High": 6, - "Very Low": 1, -} +DEFAULT_QUALITY = 'Ultra' +QUALITY_SETTINGS = {'DONOTUSE': 0, + 'High': 5, + 'High WebGL': 8, + 'Low': 2, + 'Medium': 3, + 'MediumCloseFitShadows': 4, + 'Ultra': 7, + 'Very High': 6, + 'Very Low': 1} \ No newline at end of file diff --git a/unity/Assets/Scripts/ImageSynthesis/ImageSynthesis.cs b/unity/Assets/Scripts/ImageSynthesis/ImageSynthesis.cs index be5d2fc7da..9037a4c81e 100644 --- a/unity/Assets/Scripts/ImageSynthesis/ImageSynthesis.cs +++ b/unity/Assets/Scripts/ImageSynthesis/ImageSynthesis.cs @@ -6,8 +6,6 @@ using UnityEngine; using UnityEngine.Rendering; -using Thor.Rendering; - // @TODO: // . support custom color wheels in optical flow via lookup textures // . support custom depth encoding @@ -272,7 +270,7 @@ public void updateCameraStatuses(bool enabled) { public void OnEnable() { - RenderCapture s; + // RenderCapture s; // This initialization code MUST live in OnEnable and not Start as we instantiate ThirdPartyCameras // programatically in other functions and need them to be initialized immediately. if (!initialized) { diff --git a/unity/ProjectSettings/ProjectSettings.asset b/unity/ProjectSettings/ProjectSettings.asset index 29c345dbd9..6a9ed65b4e 100644 --- a/unity/ProjectSettings/ProjectSettings.asset +++ b/unity/ProjectSettings/ProjectSettings.asset @@ -644,7 +644,7 @@ PlayerSettings: webGLThreadsSupport: 0 webGLDecompressionFallback: 0 scriptingDefineSymbols: - 1: UNITY_POST_PROCESSING_STACK_V2 + 1: 4: CROSS_PLATFORM_INPUT;MOBILE_INPUT;UNITY_POST_PROCESSING_STACK_V2 7: CROSS_PLATFORM_INPUT;MOBILE_INPUT;UNITY_POST_PROCESSING_STACK_V2 13: UNITY_POST_PROCESSING_STACK_V2