From dbec49cf498d9bf219c3de0033316fbab45f5938 Mon Sep 17 00:00:00 2001 From: Baron <43506286+BaronAWC@users.noreply.github.com> Date: Thu, 6 Nov 2025 00:07:23 -0800 Subject: [PATCH 1/6] some console logs (most work done in discord) use the following in console to create a function that gives all objects in cache: window.getObjs = function() { let out = []; let print = ""; for(let elem of Wick.ObjectCache.getAllObjects()) { out.push(elem.classname + " " + elem.uuid); } for(let line of out.sort()) { print += "" + line + "\n"; } console.log(print); } use Wick.ObjectCache.getObjectByUUID(uuid) to get the object itself the editor runs project.resetCache() when the project stops, but you can also run this manually --- engine/dist/emptyproject.html | 11 ++++++++++- engine/dist/wickengine.js | 11 ++++++++++- engine/src/ObjectCache.js | 10 ++++++++++ public/corelibs/wick-engine/emptyproject.html | 11 ++++++++++- public/corelibs/wick-engine/wickengine.js | 11 ++++++++++- src/Editor/EditorCore.jsx | 4 ++-- 6 files changed, 52 insertions(+), 6 deletions(-) diff --git a/engine/dist/emptyproject.html b/engine/dist/emptyproject.html index 5fbb4fc16..e1acc56b7 100644 --- a/engine/dist/emptyproject.html +++ b/engine/dist/emptyproject.html @@ -14,7 +14,7 @@