mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Fixed various memory leaks + ModelLoader cleanup
This commit is contained in:
@@ -16,9 +16,7 @@ namespace GlitchyEngine.World
|
||||
if(_animationClip == value)
|
||||
return;
|
||||
|
||||
_animationClip?.ReleaseRef();
|
||||
_animationClip = value;
|
||||
_animationClip?.AddRef();
|
||||
SetReference!(_animationClip, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user