View Full Version : wierd problem - difference between selecting geometry & selecting helper

05-17-2008, 05:09 PM
this is kindof a wierd issue i am facing with: from the listener try this

select $Box01 -- This will take the focus off the listener window into the viewport

select $Dummy01 -- This wont take the focus off the listener

I am working on a selection script and I dont want my rollout to loose focus everytime i select a geometry object...

this problem doesnt exist if you select multiple objects

05-17-2008, 06:25 PM
just found out that this happens only if the modify panel is open....

so for the time being this is what i am doing to change the panel

startObjectCreation box

05-17-2008, 09:54 PM
you can also use...
max create mode accomplish the same thing.

However, if you just don't want the dialog / control to lose focus, look into
setFocus <UI element>

05-17-2008, 11:32 PM
thanks for the one line code...

ideally i would like my rollout to never loose focus... but if the modify panel is open and i select a geometry object through my script takes the focus off my rollout.. all i want is that it shouldnt loose focus but at the same time not be restricted to close my rollout before working in the viewport again...

CGTalk Moderation
05-17-2008, 11:32 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.