forked from LeenkxTeam/LNXSDK
		
	t3du - Show world name in debug console
This commit is contained in:
		@ -280,7 +280,11 @@ class DebugConsole extends Trait {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
					function drawObjectNameInList(object: iron.object.Object, selected: Bool) {
 | 
										function drawObjectNameInList(object: iron.object.Object, selected: Bool) {
 | 
				
			||||||
						var _y = ui._y;
 | 
											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) {
 | 
											if (object == iron.Scene.active.camera) {
 | 
				
			||||||
							var tagWidth = 100;
 | 
												var tagWidth = 100;
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user