I need to close Asset Editor dialog of Vray using Ruby to prevent from this error (please see image). This error happens when Asset Editor is opening, then I run the following code twice times and the error appears.
I realize that if Asset Editor is closing before I run code then the error doesn’t appear.
I realize that if Asset Editor is closing before I run code then the error doesn’t appear.
Code:
context = VRay::Context.active #Assume that vray::context was active before if not context.nil? context = VRay::Context context.active(false)&.delete end
Comment