mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-24 08:30:02 +00:00
Rework const on NavigationServer methods
`const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
This commit is contained in:
@@ -125,11 +125,7 @@ void NavigationServer3D::_bind_methods() {
|
||||
ADD_SIGNAL(MethodInfo("navigation_debug_changed"));
|
||||
}
|
||||
|
||||
const NavigationServer3D *NavigationServer3D::get_singleton() {
|
||||
return singleton;
|
||||
}
|
||||
|
||||
NavigationServer3D *NavigationServer3D::get_singleton_mut() {
|
||||
NavigationServer3D *NavigationServer3D::get_singleton() {
|
||||
return singleton;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user