View Full Version : wierd problem - difference between selecting geometry & selecting helper
abyjoe 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
|
|
abyjoe
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
stopCreating()
ZeBoxx2
05-17-2008, 09:54 PM
you can also use...
max create mode
...to accomplish the same thing.
However, if you just don't want the dialog / control to lose focus, look into
setFocus <UI element>
abyjoe
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.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.