Timeline for How to check if modal operator is Running from threading.Thread function?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 10, 2022 at 11:03 | vote | accept | Noob Cat | ||
Jul 9, 2022 at 21:12 | answer | added | X Y | timeline score: 2 | |
Jul 9, 2022 at 18:10 | comment | added | Jakemoyo | Have you seen this? | |
Jul 9, 2022 at 17:25 | comment | added | Noob Cat | I was starting to look at the ctypes module, I was thinking of checking if the allocated memory address of the modal operator print(self) is really in use. But I'm not sure about this | |
Jul 9, 2022 at 17:20 | comment | added | Noob Cat | This is one of the last things I've tried. But it has a problem. Precisely, when you use blender (For example any operator, which performs a heavy operation) it will also block the 'RUNNING_MODAL' cycle so the method you suggested, as soon as this situation is encountered, the modal will be not working, as it is Blocked Until the other operator ends | |
Jul 9, 2022 at 17:03 | comment | added | Jakemoyo |
Why not just put some kind of print statement in the modal itself? Right before any of the if event.type statements. Then you can see in the terminal if its running, because it will print every even tick.
|
|
Jul 9, 2022 at 14:45 | history | asked | Noob Cat | CC BY-SA 4.0 |