File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
com.unity.perception/Editor/Randomization/Editors Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ class RunInUnitySimulationWindow : EditorWindow
3636 Label m_PrevExecutionIdLabel ;
3737 Label m_PrevRandomSeedLabel ;
3838 RunParameters m_RunParameters ;
39+ const string k_SupportedGPUString = "NVIDIA" ;
3940
4041 [ MenuItem ( "Window/Run in Unity Simulation" ) ]
4142 static void ShowWindow ( )
@@ -189,7 +190,7 @@ static string IncrementRunName(string runName)
189190 async void RunInUnitySimulation ( )
190191 {
191192 #if PLATFORM_CLOUD_RENDERING
192- if ( ! m_SysParamDefinitions [ m_SysParamIndex ] . description . Contains ( m_SupportedGPUString ) )
193+ if ( ! m_SysParamDefinitions [ m_SysParamIndex ] . description . Contains ( k_SupportedGPUString ) )
193194 {
194195 EditorUtility . DisplayDialog ( "Unsupported Sysparam" ,
195196 "The current selection of the Sysparam " + m_SysParamDefinitions [ m_SysParamIndex ] . description +
You can’t perform that action at this time.
0 commit comments