Skip to content

Commit 68f06f6

Browse files
committed
Removed debug output
1 parent 34285ab commit 68f06f6

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

api/transform.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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 {

main/execution.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

105105
window.stopCode = stopCode;

main/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

153153
function 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(() => {

0 commit comments

Comments
 (0)