Skip to content
Snippets Groups Projects
Commit f2d85564 authored by vahrenkamp's avatar vahrenkamp
Browse files

sensor init

git-svn-id: http://svn.code.sf.net/p/simox/code/trunk@812 042f3d55-54a8-47e9-b7fb-15903f145c44
parent 7eef8b6d
No related branches found
No related tags found
No related merge requests found
......@@ -858,6 +858,12 @@ namespace VirtualRobot
this->attachChild(sensor);
}
// if we are already initialized, be sure the sensor is also intialized
if (initialized)
{
sensor->initialize(shared_from_this());
}
return true;
}
......
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