diff --git a/src/loaders/blend.nim b/src/loaders/blend.nim index 5cd4605..f98bc0f 100644 --- a/src/loaders/blend.nim +++ b/src/loaders/blend.nim @@ -92,8 +92,8 @@ proc registerBlendLoader*(engine: MyouEngine) = method close*(self: BlendLoader) = if self.resource != nil: self.resource = nil - self.blend_file = nil - self.cached_materials.clear() + self.blend_file = nil + self.cached_materials.clear() method openAssetFile*(self: BlendLoader, path: string) = if self.resource != nil: