mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-28 05:44:48 -05:00
Disable WebGl color space check
Because WebGL not support Liner Color Space
This commit is contained in:
@@ -12,7 +12,9 @@ namespace UniGLTF.EditorSettingsValidator
|
||||
|
||||
static UnityEditorSettingsValidatorWindow()
|
||||
{
|
||||
#if !UNITY_WEBGL
|
||||
EditorApplication.update += Validate;
|
||||
#endif
|
||||
}
|
||||
|
||||
private static void Validate()
|
||||
@@ -26,7 +28,9 @@ namespace UniGLTF.EditorSettingsValidator
|
||||
|
||||
private void OnProjectChange()
|
||||
{
|
||||
#if !UNITY_WEBGL
|
||||
Validate();
|
||||
#endif
|
||||
}
|
||||
|
||||
private void OnGUI()
|
||||
@@ -95,4 +99,4 @@ namespace UniGLTF.EditorSettingsValidator
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user