View Single Post
# 2 24-01-2012 , 06:31 AM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
Yes, it's backface culling user added image. It works on all components. There's a "camera based selection" checkbox at the top of the selection/transformation tool options that does the same thing regardless if you're in component mode or not so I just wrote a script based on that. You can assign a custom key or put it in a shelf or whatever.

Code:
        int $state = `selectPref -q -useDepth`;
        string $message = "Camera based selection is ";
        if ($state == 0){
                selectPref -useDepth 1;
                headsUpMessage ($message + "on");
        }
        else
        {
              selectPref -useDepth 0; 
              headsUpMessage ($message + "off");
        }


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::