Skip to content

Commit

Permalink
Plugin fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
luboslenco committed Jan 17, 2025
1 parent 303f941 commit a4af6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion armorpaint/assets/plugins/import_stl.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function import_stl(path) {
}

data_delete_blob(path);
let name = path.split("\\").pop().split("/").pop().split(".").shift();
let name = path.split("\\\\").pop().split("/").pop().split(".").shift();
return plugin_api_make_raw_mesh(name, posa.buffer, nora.buffer, inda.buffer, scale_pos);
}

Expand Down

0 comments on commit a4af6c2

Please sign in to comment.