You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Update TileSet preview when paint custom data changes
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user