mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-06 05:01:53 +00:00
Separate handling for hlsl and fx files
This commit is contained in:
@@ -18,14 +18,15 @@ class AssetThumbnailManager
|
||||
if (assetNode.Path.EndsWith(".scene"))
|
||||
return _icons.File_Scene;
|
||||
|
||||
if (assetNode.Path.EndsWith(".mat"))
|
||||
return _icons.File_Material;
|
||||
|
||||
if (assetNode.Path.EndsWith(".cs"))
|
||||
return _icons.File_CSharpScript;
|
||||
|
||||
if (assetNode.Path.EndsWith(".hlsl"))
|
||||
return _icons.File_Shader;
|
||||
return _icons.File_Hlsl;
|
||||
if (assetNode.Path.EndsWith(".fx"))
|
||||
return _icons.File_Effect;
|
||||
if (assetNode.Path.EndsWith(".mat"))
|
||||
return _icons.File_Material;
|
||||
|
||||
return _icons.File;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user