-Added const to a reference, should fix #2613
This commit is contained in:
parent
7d8f187c33
commit
408c498446
2 changed files with 2 additions and 2 deletions
|
@ -1246,7 +1246,7 @@ void ShaderGraphView::_duplicate_nodes_request()
|
|||
|
||||
}
|
||||
|
||||
void ShaderGraphView::_duplicate_nodes(Array &p_nodes)
|
||||
void ShaderGraphView::_duplicate_nodes(const Array &p_nodes)
|
||||
{
|
||||
List<int> n = List<int>();
|
||||
for (int i=0; i<p_nodes.size();i++)
|
||||
|
|
|
@ -149,7 +149,7 @@ class ShaderGraphView : public Node {
|
|||
void _end_node_move();
|
||||
void _move_node(int p_id,const Vector2& p_to);
|
||||
void _duplicate_nodes_request();
|
||||
void _duplicate_nodes(Array &p_nodes);
|
||||
void _duplicate_nodes(const Array &p_nodes);
|
||||
void _delete_nodes_request();
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue