I'm always wanting to learn and see how others condense and write code more efficiently.
I was curious to know how and if possible other ways to condense this code?
Thanks
if (btnRefraction.state == true) do -- Refraction
(
if rlRefraction.ckbxRawRefraction.state then
(
re.addrenderelement (VRayRawRefraction())
re.addrenderelement (VRayRefractionFilter())
)else(
re.addrenderelement (VRayRefraction())
)
)
By JokerMartini · 2011-05-23
Graph · 2011-05-24