Fixes editor crashing when editing autotiles issue #24004
This commit is contained in:
parent
a7bd9f050f
commit
29284f628c
1 changed files with 2 additions and 0 deletions
|
@ -600,6 +600,8 @@ void TileSetEditor::_on_textures_added(const PoolStringArray &p_paths) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void TileSetEditor::_on_edit_mode_changed(int p_edit_mode) {
|
void TileSetEditor::_on_edit_mode_changed(int p_edit_mode) {
|
||||||
|
draw_handles = false;
|
||||||
|
creating_shape = false;
|
||||||
edit_mode = (EditMode)p_edit_mode;
|
edit_mode = (EditMode)p_edit_mode;
|
||||||
switch (edit_mode) {
|
switch (edit_mode) {
|
||||||
case EDITMODE_REGION: {
|
case EDITMODE_REGION: {
|
||||||
|
|
Loading…
Reference in a new issue