Fix self illumination color widget in NeL Material script
This commit is contained in:
parent
3b4e1a32cb
commit
12aa02585f
1 changed files with 4 additions and 1 deletions
|
@ -607,6 +607,9 @@ plugin material NelMaterial
|
||||||
pSelfIllumAmount = spSelfIllumAmount.value
|
pSelfIllumAmount = spSelfIllumAmount.value
|
||||||
bUseSelfIllumColor = cbUseSelfIllumColor.checked
|
bUseSelfIllumColor = cbUseSelfIllumColor.checked
|
||||||
|
|
||||||
|
spSelfIllumAmount.visible = not cbUseSelfIllumColor.checked
|
||||||
|
cpSelfIllumColor.visible = cbUseSelfIllumColor.checked
|
||||||
|
|
||||||
delegate.twoSided = bTwoSided
|
delegate.twoSided = bTwoSided
|
||||||
delegate.ambient = cAmbient
|
delegate.ambient = cAmbient
|
||||||
delegate.diffuse = cDiffuse
|
delegate.diffuse = cDiffuse
|
||||||
|
|
Loading…
Reference in a new issue