t3du - Show world name in debug console

This commit is contained in:
2025-06-27 17:46:36 +00:00
parent 0423a735fc
commit 927baec4df

View File

@ -280,7 +280,11 @@ class DebugConsole extends Trait {
function drawObjectNameInList(object: iron.object.Object, selected: Bool) {
var _y = ui._y;
ui.text(object.uid+'_'+object.name);
if (object.parent.name == 'Root')
ui.text(object.uid+'_'+object.name+' ('+iron.Scene.active.raw.world_ref+')');
else
ui.text(object.uid+'_'+object.name);
if (object == iron.Scene.active.camera) {
var tagWidth = 100;