Toggling Back face Cull on/off [per object]
ok i am no scripter or mel guy, mostly modeling... trying to make a toggle back face culling on/off
this seem to turn it on, but does not act as a toggle.
if (`getPanel -to (eval("getPanel -withFocus"))`){
$currentPanel = `getPanel -withFocus`;
if (`modelEditor -q -polymeshes $currentPanel`){
polysDisplayUpdateCulling $currentPanel;
}
else {
modelEditor -edit -polymeshes polysDisplayUpdateCulling 0 $currentPanel;
}
}
can anyone help me put.
thanx in advance
:tup: