Skip to content

Commit

Permalink
fixes build
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroHG committed Sep 19, 2024
1 parent 2bf1942 commit 9fdd254
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
22 changes: 10 additions & 12 deletions ai2thor/_quality_settings.py
Original file line number Diff line number Diff line change
@@ -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}
4 changes: 1 addition & 3 deletions unity/Assets/Scripts/ImageSynthesis/ImageSynthesis.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion unity/ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9fdd254

Please sign in to comment.