View Full Version : How to get the moment AFTER a node is created?

04 April 2012, 04:07 PM

I am trying to track the moment after a node has been created in order to give the user the possibility to name this node instantly. I am using callbacks (#nodeCreated) but my problem is that when the user creates e.g. a sphere this callback responds as soon as the user hits the left mousebutton, but I need to get the moment right after the user has adjusted the radius and releases the mousebutton again.

I had no success in combining callbacks and mouseTracking and using the node-event-system is not what I want since it responds on nodes beeing merged as well :-/. Any ideas?

Thanks in advance

04 April 2012, 04:28 PM
Use the NodeEventCallback mechanism. There you can supply a "mouseUp" parameter.

If you want to avoid the event being handled when merging, you can combine it with the preMerge, postMerge general event callback.

CGTalk Moderation
04 April 2012, 04:28 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.