You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Small fixes to unrechable code, possibly overflows, using NULL pointers
This commit is contained in:
@@ -67,9 +67,7 @@ void NavigationMeshEditor::_bake_pressed() {
|
||||
EditorNavigationMeshGenerator::get_singleton()->clear(node->get_navigation_mesh());
|
||||
EditorNavigationMeshGenerator::get_singleton()->bake(node->get_navigation_mesh(), node);
|
||||
|
||||
if (node) {
|
||||
node->update_gizmo();
|
||||
}
|
||||
node->update_gizmo();
|
||||
}
|
||||
|
||||
void NavigationMeshEditor::_clear_pressed() {
|
||||
|
||||
Reference in New Issue
Block a user