2
0
Эх сурвалжийг харах

Merge pull request #278 from dgough/next

Next
Sean Paul Taylor 13 жил өмнө
parent
commit
80bfdccc73
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  1. 4 0
      gameplay/src/Node.cpp

+ 4 - 0
gameplay/src/Node.cpp

@@ -949,6 +949,10 @@ void Node::cloneInto(Node* node, NodeCloneContext &context) const
     }
     node->_world = _world;
     node->_bounds = _bounds;
+    if (_tags)
+    {
+        node->_tags = new std::map<std::string, std::string>(_tags->begin(), _tags->end());
+    }
 }
 
 AudioSource* Node::getAudioSource() const