@@ -7,7 +7,7 @@ import { injectSvelteCompomponent } from './util/injectSvelteComponent'
77import { toSafeFuntionName } from './util/minecraftUtil'
88import { addProjectToRecentProjects } from './util/misc'
99import { Valuable } from './util/stores'
10- import { TRANSPARENT_TEXTURE , TRANSPARENT_TEXTURE_MATERIAL , Variant } from './variants'
10+ import { Variant } from './variants'
1111import FormatPageSvelte from './components/formatPage.svelte'
1212import { translate } from './util/translation'
1313import { process } from './systems/modelDataFixerUpper'
@@ -572,9 +572,6 @@ export const BLUEPRINT_FORMAT = new Blockbench.ModelFormat({
572572 events . UNLOAD . subscribe ( ( ) => clearInterval ( updateBoundingBoxIntervalId ) , true )
573573 events . UNINSTALL . subscribe ( ( ) => clearInterval ( updateBoundingBoxIntervalId ) , true )
574574
575- thisProject . materials [ TRANSPARENT_TEXTURE . uuid ] = TRANSPARENT_TEXTURE_MATERIAL
576- TRANSPARENT_TEXTURE . updateMaterial ( )
577-
578575 Project . loadingPromises ??= [ ]
579576 Project . loadingPromises . push (
580577 new Promise < void > ( resolve => {
@@ -664,7 +661,7 @@ export function saveBlueprint() {
664661export function updateRotationLock ( ) {
665662 if ( ! isCurrentFormat ( ) ) return
666663 BLUEPRINT_FORMAT . rotation_limit = ! (
667- ! ! Group . selected ||
664+ ! ! Group . first_selected ||
668665 ! ! AnimatedJava . API . TextDisplay . selected . length ||
669666 ! ! AnimatedJava . API . VanillaItemDisplay . selected . length ||
670667 ! ! AnimatedJava . API . VanillaBlockDisplay . selected . length ||
0 commit comments