diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2022-04-06 15:47:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-06 15:47:20 +0200 |
| commit | ac591d9904e4e5cf7841b3e79caabf558d37db0e (patch) | |
| tree | 70f3bd487e91feb4ca777dba214a09b17041da97 /editor/plugins/node_3d_editor_plugin.cpp | |
| parent | 72407a9cfbd4f58102972c0910429f3ab7006f07 (diff) | |
| parent | f851c4aa330e1064a66db50be62db2466f4fb768 (diff) | |
| download | redot-engine-ac591d9904e4e5cf7841b3e79caabf558d37db0e.tar.gz | |
Merge pull request #59911 from bruvzg/cppcheck_fixes
Diffstat (limited to 'editor/plugins/node_3d_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 090c140456..855fc2b2a9 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -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; |
