From 274077cd4660f6cbb87b648c10c42847eb39921f Mon Sep 17 00:00:00 2001
From: Meixner <andre.meixner@kit.edu>
Date: Sun, 14 May 2023 17:02:49 +0200
Subject: [PATCH] Added cloning of nodeMapping

---
 VirtualRobot/Robot.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/VirtualRobot/Robot.cpp b/VirtualRobot/Robot.cpp
index 86643243d..9736a9a22 100644
--- a/VirtualRobot/Robot.cpp
+++ b/VirtualRobot/Robot.cpp
@@ -919,6 +919,8 @@ namespace VirtualRobot
         result->type = type;
         //result->radianToMMfactor = radianToMMfactor;
 
+        result->nodeMapping = getNodeMapping();
+
         if(getHumanMapping().has_value())
         {
             result->registerHumanMapping(getHumanMapping().value());
-- 
GitLab