Fixup TileSet build after #66557
Last rebase was too old, didn't include this API rename.
This commit is contained in:
parent
2ca972ad01
commit
0b27173919
|
@ -750,7 +750,7 @@ void TileSetAtlasSourceEditor::_update_tile_data_editors() {
|
||||||
// If the type of the edited property has been changed, delete the
|
// If the type of the edited property has been changed, delete the
|
||||||
// editor and create a new one.
|
// editor and create a new one.
|
||||||
if (tile_data_editors.has(editor_name) && ((TileDataDefaultEditor *)tile_data_editors[editor_name])->get_property_type() != prop_type) {
|
if (tile_data_editors.has(editor_name) && ((TileDataDefaultEditor *)tile_data_editors[editor_name])->get_property_type() != prop_type) {
|
||||||
tile_data_editors[vformat("custom_data_%d", i)]->queue_delete();
|
tile_data_editors[vformat("custom_data_%d", i)]->queue_free();
|
||||||
tile_data_editors.erase(vformat("custom_data_%d", i));
|
tile_data_editors.erase(vformat("custom_data_%d", i));
|
||||||
}
|
}
|
||||||
if (!tile_data_editors.has(editor_name)) {
|
if (!tile_data_editors.has(editor_name)) {
|
||||||
|
|
Loading…
Reference in New Issue