Merge pull request #24189 from dakennedyd/development

Fixes editor crashing when editing autotiles
This commit is contained in:
Rémi Verschelde 2018-12-06 11:31:41 +01:00 committed by GitHub
commit aa9bc04485
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -600,6 +600,8 @@ void TileSetEditor::_on_textures_added(const PoolStringArray &p_paths) {
}
void TileSetEditor::_on_edit_mode_changed(int p_edit_mode) {
draw_handles = false;
creating_shape = false;
edit_mode = (EditMode)p_edit_mode;
switch (edit_mode) {
case EDITMODE_REGION: {