I started 3dsmax 2018 and during the startup sequenze it froze and I had to use the task manager (Win10) to force close the application.
Now I always get an error message at the start:
"MaxScript MacroScript Compile - C:\users......."
--Compile error: Unexpected end-of-script
"macroScript VRaySun
category:"VRay"
buttonText:"V-Ray Sun"
toolTip: "Create V-Ray Sun"
(
local enabled = false
fn checkVRayRenderer = (
local enabled = false
if(renderers.production != undefined) then (
cid = renderers.production.classid
enabled = ((cid[1] == 194161523 and (cid[2] == 2012806412) or (cid[1] == 1770671000) and (cid[2] == 1323107829))
)
enabled
)
on execute do StartObjectCreation VRaySun
on isEnabled do
(
enabled=checkVRayRenderer()
)
on isVisible do
(
enabled=ch"
Re-installing vray (including uninstallation) does not solve the issue.
What can I do to remove the error?
Now I always get an error message at the start:
"MaxScript MacroScript Compile - C:\users......."
--Compile error: Unexpected end-of-script
"macroScript VRaySun
category:"VRay"
buttonText:"V-Ray Sun"
toolTip: "Create V-Ray Sun"
(
local enabled = false
fn checkVRayRenderer = (
local enabled = false
if(renderers.production != undefined) then (
cid = renderers.production.classid
enabled = ((cid[1] == 194161523 and (cid[2] == 2012806412) or (cid[1] == 1770671000) and (cid[2] == 1323107829))
)
enabled
)
on execute do StartObjectCreation VRaySun
on isEnabled do
(
enabled=checkVRayRenderer()
)
on isVisible do
(
enabled=ch"
Re-installing vray (including uninstallation) does not solve the issue.
What can I do to remove the error?
Comment