godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.88k stars 20.15k forks source link

Selection is slow on some nodes (e.g. Skeleton or AnimationPlayer) in the scene tree dock #26318

Open heretique opened 5 years ago

heretique commented 5 years ago

Godot version: 3.1 (commit: ce114e35dda4b3f282abb458f8409db2369b279e) OS/device including version: Windows 10 Issue description: When selecting nodes in the scene hierarchy some nodes have a big delay between mouse click and actual selection of the node even with a simple scene. Steps to reproduce: Please check the video file. Minimal reproduction project: MicroDungeons.zip

akien-mga commented 5 years ago

This is probably related to the Skeleton's gizmo, which might be recreated each time the node is selected I guess?

heretique commented 5 years ago

I've noticed being slow when selecting the AnimationPlayer node also, not only on Skeleton node.

Calinou commented 3 years ago

@heretique Can you (or anyone else) still reproduce this bug in Godot 3.3.2 or any later release?

heretique commented 3 years ago

I'm away from my computer for one week. I could check when I get back if it's not too late.

AaronRecord commented 2 years ago

I can reproduce this bug with 3.4 on the third person shooter demo when selecting the player skeleton. I suspect it's because it's creating inspector properties for every single bone.