-Added const to a reference, should fix #2613

This commit is contained in:
Juan Linietsky 2015-10-17 17:13:49 -03:00
parent 7d8f187c33
commit 408c498446
2 changed files with 2 additions and 2 deletions

View file

@ -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++)