mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Fixed Textures in Materials
This commit is contained in:
@@ -19,7 +19,6 @@ class PropertiesWindow : EditorWindow
|
||||
private append String _selectedFileName = .();
|
||||
|
||||
private AssetHandle _currentAssetHandle;
|
||||
//private Asset _currentAsset;
|
||||
|
||||
public this(Editor editor)
|
||||
{
|
||||
@@ -83,14 +82,6 @@ class PropertiesWindow : EditorWindow
|
||||
_currentAssetHandle = _editor.ContentManager.LoadAsset(assetFile.Identifier);
|
||||
}
|
||||
|
||||
/*if (asset != _currentAsset)
|
||||
{
|
||||
_currentAsset?.ReleaseRef();
|
||||
_currentAsset = asset;
|
||||
_currentAsset?.AddRef();
|
||||
}*/
|
||||
|
||||
|
||||
// TODO: allow changing AssetLoader
|
||||
// assetFile.AssetConfig.AssetLoade
|
||||
|
||||
|
||||
Reference in New Issue
Block a user