This commit is contained in:
Masataka SUMI
2021-05-21 19:15:37 +09:00
parent cb3d43add1
commit d61fc7339e

View File

@@ -87,7 +87,7 @@ namespace VRMShaders
if (texture2D != null)
{
var path = AssetDatabase.GetAssetPath(texture2D);
if (string.IsNullOrEmpty(path))
if (!string.IsNullOrEmpty(path))
{
assetImporter = AssetImporter.GetAtPath(path) as TextureImporter;
if (assetImporter != null)