File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -676,13 +676,11 @@ export const flockTransform = {
676676
677677 mesh . refreshBoundingInfo ( true ) ;
678678 mesh . computeWorldMatrix ( true ) ;
679- let physicsTarget = mesh ;
679+ let physicsTarget = mesgh ;
680680 while ( physicsTarget . parent && ! physicsTarget . physics ) {
681681 physicsTarget = physicsTarget . parent ;
682682 }
683683
684- console . log ( "Updating physics" , mesh . name ) ;
685-
686684 if ( physicsTarget . physics && physicsTarget !== mesh ) {
687685 flock . updatePhysics ( mesh , physicsTarget ) ;
688686 } else {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export async function executeCode(options = {}) {
2424 await delay ( 100 ) ;
2525 }
2626
27- console . log ( "Engine ready" ) ;
27+ // console.log("Engine ready");
2828
2929 // If on a narrow screen and currently showing code, switch to canvas
3030 if ( isNarrowScreen ( ) && currentView === "code" ) {
@@ -89,7 +89,7 @@ export function stopCode() {
8989
9090 // Stop rendering
9191 flock . engine . stopRenderLoop ( ) ;
92- console . log ( "Render loop stopped." ) ;
92+ // console.log("Render loop stopped.");
9393
9494 // Remove event listeners
9595 flock . removeEventListeners ( ) ;
@@ -99,7 +99,7 @@ export function stopCode() {
9999 showCanvasView ( ) ;
100100 }
101101
102- console . log ( "Switched view." ) ;
102+ // console.log("Switched view.");
103103}
104104
105105window . stopCode = stopCode ;
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ if ("serviceWorker" in navigator) {
5151 navigator . serviceWorker
5252 . register ( "./sw.js" )
5353 . then ( ( registration ) => {
54- console . log ( "Service Worker registered:" , registration ) ;
54+ // console.log("Service Worker registered:", registration);
5555
5656 // Check for updates to the Service Worker
5757 registration . onupdatefound = ( ) => {
@@ -151,7 +151,7 @@ function registerBlocklyPlayShortcut() {
151151}
152152
153153function initializeApp ( ) {
154- console . log ( "Initializing Flock XR ..." ) ;
154+ // console.log("Initializing Flock XR ...");
155155
156156 ( ( ) => {
157157 const ws = ( ) => Blockly . getMainWorkspace ?. ( ) ;
@@ -403,7 +403,7 @@ window.onload = async function () {
403403 overrideSearchPlugin ( workspace ) ;
404404 initializeBlockHandling ( ) ;
405405
406- console . log ( "Welcome to Flock 🐦🐦🐦" ) ;
406+ console . log ( "Welcome to Flock XR 🐦🐦🐦" ) ;
407407
408408 // Autosave every 30 seconds: to localStorage and (if a file was saved) to that file
409409 setInterval ( ( ) => {
You can’t perform that action at this time.
0 commit comments