mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-19 13:46:13 +00:00
Fix an error in 3ds Max with the material script
This commit is contained in:
parent
cba0a8e24d
commit
e3e46d3eab
1 changed files with 30 additions and 30 deletions
|
@ -574,36 +574,6 @@ plugin material NelMaterial
|
|||
CheckBox cbUseSelfIllumColor "Use Color" checked:false align:#right
|
||||
)
|
||||
|
||||
on cbTwoSided changed bval do
|
||||
updateUI false
|
||||
|
||||
on cpAmbient changed cval do
|
||||
updateUI false
|
||||
|
||||
on cpDiffuse changed cval do
|
||||
updateUI false
|
||||
|
||||
on spOpacity changed pval do
|
||||
updateUI false
|
||||
|
||||
on cpSpecular changed cval do
|
||||
updateUI false
|
||||
|
||||
on spSpecularLevel changed pval do
|
||||
updateUI false
|
||||
|
||||
on spGlossiness changed pval do
|
||||
updateUI false
|
||||
|
||||
on cpSelfIllumColor changed cval do
|
||||
updateUI false
|
||||
|
||||
on spSelfIllumAmount changed bval do
|
||||
updateUI false
|
||||
|
||||
on cbUseSelfIllumColor changed bval do
|
||||
updateUI false
|
||||
|
||||
Fn updateUI update =
|
||||
(
|
||||
if (version >= 14) then
|
||||
|
@ -655,6 +625,36 @@ plugin material NelMaterial
|
|||
)
|
||||
)
|
||||
|
||||
on cbTwoSided changed bval do
|
||||
updateUI false
|
||||
|
||||
on cpAmbient changed cval do
|
||||
updateUI false
|
||||
|
||||
on cpDiffuse changed cval do
|
||||
updateUI false
|
||||
|
||||
on spOpacity changed pval do
|
||||
updateUI false
|
||||
|
||||
on cpSpecular changed cval do
|
||||
updateUI false
|
||||
|
||||
on spSpecularLevel changed pval do
|
||||
updateUI false
|
||||
|
||||
on spGlossiness changed pval do
|
||||
updateUI false
|
||||
|
||||
on cpSelfIllumColor changed cval do
|
||||
updateUI false
|
||||
|
||||
on spSelfIllumAmount changed bval do
|
||||
updateUI false
|
||||
|
||||
on cbUseSelfIllumColor changed bval do
|
||||
updateUI false
|
||||
|
||||
on nelBasicParameters open do
|
||||
(
|
||||
updateUI true
|
||||
|
|
Loading…
Reference in a new issue