-
-
Notifications
You must be signed in to change notification settings - Fork 23.7k
Open
Labels
Description
Godot version
4.0.2
System information
Ubuntu 22.04.1 LTS
Issue description
In my curve editor overhaul PR #74959, I wanted to make it so LMB creates points and allows to adjust them before the mouse button is released. However, as soon as I add a point, the dictionary with the points adds a new entry, which causes a property tree update, reconstructing the whole inspector. This causes the point to become unselected, messing up the workflow in my PR. It's the only loose end remaining for that PR and I don't believe it's necessary, since Dictionary is handled by its own editor plugin.
Steps to reproduce
If you have Godot's source code, you can add print_line("test") to the CurveEditor constructor (curve_editor_plugin.cpp) and see that it prints every time points are added or removed.
Minimal reproduction project
N/A