Skip to content

Commit 3908b33

Browse files
authored
Merge pull request #58 from xWalfie-SMR/fix/note-size
fix: half-size notes on first launch or mesh change
2 parents 4d4d5e3 + 633bd2f commit 3908b33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/skinning/SkinManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private static ArrayMesh loadMesh(string path)
222222
{
223223
bool exists = ResourceLoader.Exists(path) || Godot.FileAccess.FileExists(path);
224224

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

228228
private static BaseSpace loadSpace(string path)

0 commit comments

Comments
 (0)