Post #4044: I’ve mad a modal operator, but either on confirm or release (pressing left or ri

📋 Metadata

  • Author: insideitall
  • Date: 2021-09-04 12:32:45
  • Type: question
  • Quality Score: 5/10
  • Replies (1): post_04046

🏷️ Tags

modal operator-behavior intermediate unsolved

  • Modal Editor

💬 Content

I’ve mad a modal operator, but either on confirm or release (pressing left or right mouse buttons) it does what is expected and either confirms or cancels what the operator did, but it remains in the modal operator still until i either confirm or cancel a second time.

Is there a way that if i either confirm or cancel the operator it exits the operator right away?

*Edit i believe this is cause i’m using a nested operator, so i have to cancel confirm both operators.


🔗 View on Blender Artists