mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-28 19:30:54 +00:00
Fix self illumination color widget in NeL Material script
This commit is contained in:
parent
27269065ab
commit
f81032039a
1 changed files with 4 additions and 1 deletions
|
@ -595,7 +595,7 @@ plugin material NelMaterial
|
|||
cpSelfIllumColor.visible = bUseSelfIllumColor
|
||||
)
|
||||
else
|
||||
(
|
||||
(
|
||||
bTwoSided = cbTwoSided.checked
|
||||
cAmbient = cpAmbient.color
|
||||
cDiffuse = cpDiffuse.color
|
||||
|
@ -607,6 +607,9 @@ plugin material NelMaterial
|
|||
pSelfIllumAmount = spSelfIllumAmount.value
|
||||
bUseSelfIllumColor = cbUseSelfIllumColor.checked
|
||||
|
||||
spSelfIllumAmount.visible = not cbUseSelfIllumColor.checked
|
||||
cpSelfIllumColor.visible = cbUseSelfIllumColor.checked
|
||||
|
||||
delegate.twoSided = bTwoSided
|
||||
delegate.ambient = cAmbient
|
||||
delegate.diffuse = cDiffuse
|
||||
|
|
Loading…
Reference in a new issue