Browse Source

Merge pull request #32969 from Nehluxhes/palette_vanish

Fix gridmap palette remaining invisible
Rémi Verschelde 6 years ago
parent
commit
365558b8b7
1 changed files with 1 additions and 4 deletions
  1. 1 4
      modules/gridmap/grid_map_editor_plugin.cpp

+ 1 - 4
modules/gridmap/grid_map_editor_plugin.cpp

@@ -40,11 +40,8 @@
 
 
 void GridMapEditor::_node_removed(Node *p_node) {
 void GridMapEditor::_node_removed(Node *p_node) {
 
 
-	if (p_node == node) {
+	if (p_node == node)
 		node = NULL;
 		node = NULL;
-		hide();
-		mesh_library_palette->hide();
-	}
 }
 }
 
 
 void GridMapEditor::_configure() {
 void GridMapEditor::_configure() {