Skip to content

Commit fac53dc

Browse files
committed
🚧 Enforce Per-Face UV when converting
1 parent d285985 commit fac53dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/blueprintFormat.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ export interface IBlueprintFormatJSON {
150150
backgrounds?: Record<string, any>
151151
}
152152

153+
//region > Convert
153154
export function convertToBlueprint() {
154155
// Convert the current project to a Blueprint
155156
Project!.save_path = ''
@@ -162,6 +163,9 @@ export function convertToBlueprint() {
162163
animation.createUniqueName(Blockbench.Animation.all.filter(a => a !== animation))
163164
animation.name = toSafeFuntionName(animation.name)
164165
}
166+
for (const cube of Cube.all) {
167+
cube.setUVMode(false)
168+
}
165169
}
166170

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

0 commit comments

Comments
 (0)