Hi,
I can select a node in the Scene Inspector using:
scene.debuglayer.select(node)
- where node could be a sphere.
But, how do I reverse this, and deselect the node, so that it is not highlighted in the Inspector’s scene listing?
Thanks,
Hi,
I can select a node in the Scene Inspector using:
scene.debuglayer.select(node)
But, how do I reverse this, and deselect the node, so that it is not highlighted in the Inspector’s scene listing?
Thanks,
I don’t think there’s a way of de-selecting and I don’t think it’s needed. The tools are always available in any context.
Out of curiosity, why do you need to deselect?
Note:
I’ve got my own selection system - that works like Blender selections including multiple objects and I need to link it to the Inspector Scene List.
Could you not send the event with null:
scene.debuglayer.select(null);
also available globally:
window.INSPECTOR.Inspector._Scene.debugLayer.select(null);