mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 18:44:00 +02:00
recreate the MarkerNode tree on agent copy
This commit is contained in:
parent
3ead1a5827
commit
eec16a8eb5
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ VoxelAgentData::~VoxelAgentData() {
|
|||
|
||||
VoxelAgentData::VoxelAgentData(const VoxelAgentData &otherAgentData) {
|
||||
memcpy(position, otherAgentData.position, sizeof(float) * 3);
|
||||
rootMarkerNode = new MarkerNode(*otherAgentData.rootMarkerNode);
|
||||
rootMarkerNode = new MarkerNode();
|
||||
}
|
||||
|
||||
VoxelAgentData* VoxelAgentData::clone() const {
|
||||
|
|
Loading…
Reference in a new issue