Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/skinning/SkinManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ private static ArrayMesh loadMesh(string path)
{
bool exists = ResourceLoader.Exists(path) || Godot.FileAccess.FileExists(path);

return exists ? (ArrayMesh)Util.Misc.OBJParser.Call("load_obj", path) : GD.Load<ArrayMesh>($"res://user/meshes/squircle.obj");
return Util.Misc.OBJParser.Call("load_obj", exists ? path : "res://user/meshes/squircle.obj").As<ArrayMesh>();
}

private static BaseSpace loadSpace(string path)
Expand Down