Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions editor/scene/2d/tiles/tile_data_editors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include "editor/editor_string_names.h"
#include "editor/editor_undo_redo_manager.h"
#include "editor/inspector/editor_properties.h"
#include "editor/inspector/editor_properties_array_dict.h"
#include "editor/scene/2d/tiles/tile_set_editor.h"
#include "editor/settings/editor_settings.h"
#include "editor/themes/editor_scale.h"
Expand Down Expand Up @@ -1033,6 +1034,12 @@ GenericTilePolygonEditor::GenericTilePolygonEditor() {
void TileDataDefaultEditor::_property_value_changed(const StringName &p_property, const Variant &p_value, const StringName &p_field) {
ERR_FAIL_NULL(dummy_object);
dummy_object->set(p_property, p_value);

if (property_editor &&
(Object::cast_to<EditorPropertyArray>(property_editor) ||
Object::cast_to<EditorPropertyDictionary>(property_editor))) {
Comment thread
DanTrz marked this conversation as resolved.
Outdated
property_editor->update_property();
}
emit_signal(SNAME("needs_redraw"));
}

Expand Down
Loading