Merge pull request #69249 from timothyqiu/tile-data-redraw
Update TileSet preview when paint custom data changes
This commit is contained in:
commit
2975fc9460
|
@ -851,6 +851,7 @@ GenericTilePolygonEditor::GenericTilePolygonEditor() {
|
||||||
void TileDataDefaultEditor::_property_value_changed(StringName p_property, Variant p_value, StringName p_field) {
|
void TileDataDefaultEditor::_property_value_changed(StringName p_property, Variant p_value, StringName p_field) {
|
||||||
ERR_FAIL_COND(!dummy_object);
|
ERR_FAIL_COND(!dummy_object);
|
||||||
dummy_object->set(p_property, p_value);
|
dummy_object->set(p_property, p_value);
|
||||||
|
emit_signal(SNAME("needs_redraw"));
|
||||||
}
|
}
|
||||||
|
|
||||||
Variant TileDataDefaultEditor::_get_painted_value() {
|
Variant TileDataDefaultEditor::_get_painted_value() {
|
||||||
|
|
Loading…
Reference in New Issue