diff options
| author | qarmin <mikrutrafal54@gmail.com> | 2019-04-08 11:03:37 +0200 |
|---|---|---|
| committer | qarmin <mikrutrafal54@gmail.com> | 2019-04-08 11:03:37 +0200 |
| commit | 856a8226a5306632f5dd4d9e9c916d89e3e21495 (patch) | |
| tree | f5ed5052dfc9d6793b78b2353ba84732676beb08 /modules/recast | |
| parent | c2c11fc063e723c41579e6307e40fd16ac5334c4 (diff) | |
| download | redot-engine-856a8226a5306632f5dd4d9e9c916d89e3e21495.tar.gz | |
Small fixes, mostly dupicated code
Diffstat (limited to 'modules/recast')
| -rw-r--r-- | modules/recast/navigation_mesh_editor_plugin.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/recast/navigation_mesh_editor_plugin.cpp b/modules/recast/navigation_mesh_editor_plugin.cpp index a068f3b0f9..62108620bd 100644 --- a/modules/recast/navigation_mesh_editor_plugin.cpp +++ b/modules/recast/navigation_mesh_editor_plugin.cpp @@ -67,9 +67,7 @@ void NavigationMeshEditor::_bake_pressed() { NavigationMeshGenerator::clear(node->get_navigation_mesh()); NavigationMeshGenerator::bake(node->get_navigation_mesh(), node); - if (node) { - node->update_gizmo(); - } + node->update_gizmo(); } void NavigationMeshEditor::_clear_pressed() { |
