parent
96de0141cc
commit
a64a348054
1 changed files with 3 additions and 1 deletions
|
@ -1760,8 +1760,10 @@ void SceneTreeDock::_nodes_dragged(Array p_nodes,NodePath p_to,int p_type) {
|
||||||
|
|
||||||
for(int i=0;i<p_nodes.size();i++) {
|
for(int i=0;i<p_nodes.size();i++) {
|
||||||
Node *n=get_node((p_nodes[i]));
|
Node *n=get_node((p_nodes[i]));
|
||||||
|
if (n) {
|
||||||
nodes.push_back(n);
|
nodes.push_back(n);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (nodes.size()==0)
|
if (nodes.size()==0)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue