GodSVG
GodSVG copied to clipboard
handles_manager.gd _draw() method is called 3 times on startup
This rather expensive method is called 3 times when you launch GodSVG. I'm not sure why, it should be investigated. All 3 runs do the full work on the real graphic.
Removing the queue_redraw() in update_handles.gd removes one of the redraws, but this isn't an option. Placing prints(Engine.get_frames_drawn(), Engine.get_process_frames()) in the _draw() method seems to show that all 3 calls happen in a single frame. This goes against Godot's claim that the _draw() method only runs once per frame, even if queue_redraw() has been called multiple times.
So this seems like a Godot issue.