You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fix some issues found by cppcheck.
This commit is contained in:
@@ -369,7 +369,7 @@ Transform3D Node3DEditorViewport::to_camera_transform(const Cursor &p_cursor) co
|
||||
}
|
||||
|
||||
int Node3DEditorViewport::get_selected_count() const {
|
||||
Map<Node *, Object *> &selection = editor_selection->get_selection();
|
||||
const Map<Node *, Object *> &selection = editor_selection->get_selection();
|
||||
|
||||
int count = 0;
|
||||
|
||||
@@ -2467,7 +2467,7 @@ void Node3DEditorViewport::_notification(int p_what) {
|
||||
|
||||
_update_camera(delta);
|
||||
|
||||
Map<Node *, Object *> &selection = editor_selection->get_selection();
|
||||
const Map<Node *, Object *> &selection = editor_selection->get_selection();
|
||||
|
||||
bool changed = false;
|
||||
bool exist = false;
|
||||
|
||||
Reference in New Issue
Block a user