mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-22 02:24:57 -05:00
fix bug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user