1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Greatly improve editor performances by deferring tiles related updates

Solve few update problems
This commit is contained in:
Gilles Roudière
2021-10-13 14:49:28 +02:00
parent f86fd80f30
commit 0de2fce3e1
6 changed files with 51 additions and 23 deletions

View File

@@ -45,7 +45,9 @@ class TileDataEditor : public VBoxContainer {
GDCLASS(TileDataEditor, VBoxContainer);
private:
void _call_tile_set_changed();
bool _tile_set_changed_update_needed = false;
void _tile_set_changed_plan_update();
void _tile_set_changed_deferred_update();
protected:
Ref<TileSet> tile_set;