Never knew that the Show script did not work for original lights
Can we add something like this to the Show script?
Code: Select all
if(Node.IsLight(Sel) && !Node.ConExists(Sel, "RenderAttributes")) {
D3DView.ShowRenderAttribsForObject('', Sel);
ORA_was_created = true;
}
Source object: /Scripts/Commands/HideCameraAndLights Error: Microsoft JScript runtime error Description: Invalid procedure call or argument Error code: 0x800a0005 - (null) Line: 44, Char: 3 Script text: Node.Value(curNode + "/Object Render Attributes", "Invisible") = true;