summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-10-22 18:51:11 +0200
committerGitHub <noreply@github.com>2019-10-22 18:51:11 +0200
commit365558b8b7aed930c219044176c886eaaf8d752d (patch)
tree8d61f1e10c926bb667e5df22e0874ac79a4ed8a5
parentb6dea9469c1c8ba95e235f9cb3f5cd2ddd292d6b (diff)
parentd67a9d1a94848f7684f1074a88fef0eb96667d05 (diff)
Merge pull request #32969 from Nehluxhes/palette_vanish
Fix gridmap palette remaining invisible
-rw-r--r--modules/gridmap/grid_map_editor_plugin.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/gridmap/grid_map_editor_plugin.cpp b/modules/gridmap/grid_map_editor_plugin.cpp
index 86a8df652c..08c8b5ec71 100644
--- a/modules/gridmap/grid_map_editor_plugin.cpp
+++ b/modules/gridmap/grid_map_editor_plugin.cpp
@@ -40,11 +40,8 @@
void GridMapEditor::_node_removed(Node *p_node) {
- if (p_node == node) {
+ if (p_node == node)
node = NULL;
- hide();
- mesh_library_palette->hide();
- }
}
void GridMapEditor::_configure() {