Notifications
Clear all
[Closed] Indestructible Rollout
Sep 29, 2016 6:17 pm
Is there anything to prevent this behavior, besides good coding?
This script causes a rollout to be indestructible in all Max versions. It will stack there until you close Max.
I thought that in 3ds Max 2017, due to the error handling of MXS, this would not happen, but it just get worse as Max immediately crashes.
(
fn test =
(
try destroydialog ::RO_TEST catch()
rollout RO_TEST "" width:200 height:100
(
on RO_TEST close do hide() -- Anything that throw an exception
)
createdialog RO_TEST
)
test()
test()
)
3 Replies
2 Replies