@@ -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'
@@ -577,9 +577,6 @@ export const BLUEPRINT_FORMAT = new Blockbench.ModelFormat({
577577 events . UNLOAD . subscribe ( ( ) => clearInterval ( updateBoundingBoxIntervalId ) , true )
578578 events . UNINSTALL . subscribe ( ( ) => clearInterval ( updateBoundingBoxIntervalId ) , true )
579579
580- thisProject . materials [ TRANSPARENT_TEXTURE . uuid ] = TRANSPARENT_TEXTURE_MATERIAL
581- TRANSPARENT_TEXTURE . updateMaterial ( )
582-
583580 Project . loadingPromises ??= [ ]
584581 Project . loadingPromises . push (
585582 new Promise < void > ( resolve => {
@@ -669,7 +666,7 @@ export function saveBlueprint() {
669666export function updateRotationLock ( ) {
670667 if ( ! isCurrentFormat ( ) ) return
671668 BLUEPRINT_FORMAT . rotation_limit = ! (
672- ! ! Group . selected ||
669+ ! ! Group . first_selected ||
673670 ! ! AnimatedJava . API . TextDisplay . selected . length ||
674671 ! ! AnimatedJava . API . VanillaItemDisplay . selected . length ||
675672 ! ! AnimatedJava . API . VanillaBlockDisplay . selected . length ||
0 commit comments