fixed input array sync issue
This commit is contained in:
+1
-1
@@ -1437,7 +1437,7 @@ void Node::CopyValuesOfElement(Node *src, Node *dst, const QString &input, int s
|
||||
|
||||
// If this is the root of an array, copy the array size
|
||||
if (src_element == -1 && dst_element == -1) {
|
||||
dst->InputArrayResize(input, dst->InputArraySize(input));
|
||||
dst->ArrayResizeInternal(input, src->InputArraySize(input));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -954,7 +954,7 @@ private:
|
||||
|
||||
virtual void redo() override
|
||||
{
|
||||
old_size_ = node_->GetInternalInputArraySize(input_);
|
||||
old_size_ = node_->InputArraySize(input_);
|
||||
|
||||
if (old_size_ > size_) {
|
||||
// Decreasing in size, disconnect any extraneous edges
|
||||
|
||||
Reference in New Issue
Block a user