1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-29 16:16:38 +00:00

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

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: {