Skip to content

Commit df45be5

Browse files
committed
🛠️ Maybe fix weird save path issues
1 parent fabd543 commit df45be5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/blueprintFormat.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ export interface IBlueprintFormatJSON {
147147
export function convertToBlueprint() {
148148
// Convert the current project to a Blueprint
149149
// NOTE - Nothing needs to be done here yet. The default functionality is sufficient.
150+
Project!.save_path = ''
150151
}
151152

152153
export function getDefaultProjectSettings(): ModelProject['animated_java'] {
@@ -222,7 +223,7 @@ export const BLUEPRINT_CODEC = new Blockbench.Codec('animated_java_blueprint', {
222223

223224
Project.loadingPromises = []
224225

225-
Project.save_path = model.meta.save_location || path
226+
Project.save_path = path
226227

227228
if (model.meta.box_uv !== undefined) {
228229
Project.box_uv = model.meta.box_uv

0 commit comments

Comments
 (0)