0 votes

I'm using a script that processes a bunch of objects, so it can freeze-up the editor for a while until it's finished. Is there a way to write a tool of this kind that interacts with the editor in a kinder way?

Even if it's kinda hacky, I'd rather have a way I can run it as a thread alongside the editor rather than take all resources until it's finished.

I've tried logging the process with a print statement, but it only prints after the tool is completely finished.

Godot version 3.5
in Engine by (12 points)

I don't think so. If it freezes, it is just this occupied. You can only optimize code itself.
Hint : printis highly costly command. If You print with tool for debug purposes, remove the prints and experience much smoother work.

dang, alright.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.