From 336e52fbac23897797aa8dd2da994cd87ad2894a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20L=C3=BCbe=C3=9F?= Date: Tue, 10 May 2022 11:48:16 +0200 Subject: [PATCH] Fix Modelloader --- GlitchyEngine/src/Content/ModelLoader.bf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GlitchyEngine/src/Content/ModelLoader.bf b/GlitchyEngine/src/Content/ModelLoader.bf index 6f545cc..9f5bfc3 100644 --- a/GlitchyEngine/src/Content/ModelLoader.bf +++ b/GlitchyEngine/src/Content/ModelLoader.bf @@ -90,7 +90,7 @@ namespace GlitchyEngine.Content } // Invert the Z-Axis of the root Node to convert the coordinate system from right-handed to left-handed - if(parentEntity == null) + if(parentEntity == .InvalidEntity) childTransform.Scale *= .(1, 1, -1); Skeleton skeleton = null;