danni.coy Posted August 31, 2011 Share Posted August 31, 2011 I have an object I am creating custom controls for. One of the things it will can do is load subnodes directly. I would like the parent node to remain focused in the node editor rather than the newly created child. Any ideas on how I might achieve this? Link to comment
ulf.schroeter Posted August 31, 2011 Share Posted August 31, 2011 Not sure how and where you want to implement this functionality but in principle it should be possible to query node editor selection before load of your subnodes and than restore this selection afterwards. Might require some node editor script code modifications. Link to comment
manguste Posted September 5, 2011 Share Posted September 5, 2011 Please check editor_creator.h, set_node() function. When reparenting is performed, you will need to set the focus back to the parent node. Link to comment
Recommended Posts