Skip to content

Commit ea4ee78

Browse files
author
David Kline (ANALOG)
committed
fix bug where boolean was being returned backwards
1 parent e0639fb commit ea4ee78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/MRTK/StandardAssets/EditorUtilities/OnLoadUtilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private static void EnsureShaders()
4949
/// <returns>True if the shader sentinel file is found, otherwise false.</returns>
5050
private static bool AssetsContainsShaders()
5151
{
52-
return string.IsNullOrWhiteSpace(AssetDatabase.GUIDToAssetPath(ShaderSentinelGuid));
52+
return !string.IsNullOrWhiteSpace(AssetDatabase.GUIDToAssetPath(ShaderSentinelGuid));
5353
}
5454

5555
/// <summary>

0 commit comments

Comments
 (0)