Problem with lasso selection on custom shape

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  10 October 2011
Problem with lasso selection on custom shape

Hello everyone,

I have a custom shape consisting of multiple components. When I use the standard rectangular selection tool over this node, everything works fine and only the selected components get highlighted.

However, when the lasso tool is used, the node's internal selection method gets called 10-20 times in a row, and it ends up selecting nothing (the first call selects the correct components, but subsequent calls override it).

Does anyone know what could cause this behavior?

Thanks,
Inos
 
  10 October 2011
I found that no matter what I do (even nothing) in the Select method of the ShapeUI, it will get called multiple times by Maya when the Lasso Selection tool is used.

This should mean that there has to be a way to defend from subsequent calls to the Select method, when only the first one is correct.

But on the other hand, this seems like going against Maya's workflow, and besides, how can you know if the call to the Select method is valid or not, when it is being called directly from inside the Maya code, which you can't debug or pass additional information from?

P.S: The regular Select tool is working properly.

Cheers,
Inos
 
  10 October 2011
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 11:42 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.