View Single Post
# 7 30-08-2008 , 06:34 AM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522

Originally posted by Chirone
your solution will still use two buttons though, GecT?

he wants a button that toggles on and off hide-polygons

the first thing i can think of is to use an if-statement
if polygons not visible
then show polygons
else hide them

but, i don't know what scripting languages can do yet

what i suggest is finding a script that toggles something and seeing if you can steal any of that code

there's a script on highend3d, i think, that toggles xray mode. it might contain a solution or inspiration to get that hide/show-polygon button you're after

Yeah it will, he can use that work around, get lucky and find something on the net, or learn scripting. Personally I'm not a big fan of the shelf and all that clutter, I prefer marking menues and hotkeys.


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