File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -646,6 +646,9 @@ export const BLUEPRINT_FORMAT = new Blockbench.ModelFormat({
646646 texture_meshes : false ,
647647 uv_rotation : true ,
648648 vertex_color_ambient_occlusion : true ,
649+ java_cube_shading_properties : true ,
650+ box_uv_float_size : false ,
651+ cullfaces : true ,
649652} )
650653BLUEPRINT_CODEC . format = BLUEPRINT_FORMAT
651654
@@ -662,11 +665,11 @@ export function saveBlueprint() {
662665export function updateRotationLock ( ) {
663666 if ( ! isCurrentFormat ( ) ) return
664667 BLUEPRINT_FORMAT . rotation_limit = ! (
665- Group . selected ||
668+ ! ! Group . selected ||
666669 ! ! AnimatedJava . API . TextDisplay . selected . length ||
667670 ! ! AnimatedJava . API . VanillaItemDisplay . selected . length ||
668671 ! ! AnimatedJava . API . VanillaBlockDisplay . selected . length ||
669- ! ! OutlinerElement . types . camera ?. all . length
672+ ! ! ( OutlinerElement . types . camera ?. selected && OutlinerElement . types . camera ?. selected . length )
670673 )
671674 BLUEPRINT_FORMAT . rotation_snap = BLUEPRINT_FORMAT . rotation_limit
672675}
You can’t perform that action at this time.
0 commit comments