Skip to main content
Inspiring
July 28, 2015
Question

CC 2015 onDraw Throws Error during Rendering

  • July 28, 2015
  • 2 replies
  • 745 views

I have a ScriptUI Panel with some custom buttons. I use onDraw event to draw the buttons. Works fine except when rendering. I receive an error "Can not run a script while a modal dialog is waiting for response"

Happening only on CC 2015. Try-catch will not fix as that is still scripting. Any workarounds?

This topic has been closed for replies.

2 replies

Brontzai
Inspiring
August 24, 2023

I have the same problem. I lose the entire rendered interface. When restarted, this error occurs. That is, as I understand it, this is a conflict of modal windows.

megamau
Inspiring
October 24, 2016

I have the exact same issue, and I don't believe there's a way around it, which renders the onDraw callback completely useless.

If we can't use it without errors, why even include it as a possibility?