Skip to content
Snippets Groups Projects
Commit b7f8d70d authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Set isStatic = true for objects loaded from snapshot

parent 657d31cb
No related branches found
No related tags found
No related merge requests found
......@@ -849,6 +849,7 @@ namespace armarx::armem::server::obj::instance
pose.providerName = sceneName;
pose.objectType = objpose::ObjectTypeEnum::KnownObject;
pose.isStatic = true; // Objects loaded from prior knowledge are considerd static to exclude them from decay.
pose.objectID = classID.withInstanceName(std::to_string(idCounters[classID]++));
pose.objectPoseGlobal = simox::math::pose(object.position, object.orientation);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment