Skip to content

Commit

Permalink
🚧 Enforce Per-Face UV when converting
Browse files Browse the repository at this point in the history
  • Loading branch information
SnaveSutit committed Nov 16, 2024
1 parent d285985 commit fac53dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/blueprintFormat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ export interface IBlueprintFormatJSON {
backgrounds?: Record<string, any>
}

//region > Convert
export function convertToBlueprint() {
// Convert the current project to a Blueprint
Project!.save_path = ''
Expand All @@ -162,6 +163,9 @@ export function convertToBlueprint() {
animation.createUniqueName(Blockbench.Animation.all.filter(a => a !== animation))
animation.name = toSafeFuntionName(animation.name)
}
for (const cube of Cube.all) {
cube.setUVMode(false)
}
}

export function getDefaultProjectSettings(): ModelProject['animated_java'] {
Expand Down

0 comments on commit fac53dc

Please sign in to comment.