1
0
Fork 0

Fix a bug starting the property-tree mirror.

This commit is contained in:
James Turner 2016-12-21 10:26:19 +00:00
parent 6c0e9b747d
commit eba1f3221f

View file

@ -362,6 +362,7 @@ MirrorPropertyTreeWebsocket::MirrorPropertyTreeWebsocket(const std::string& path
_subtreeRoot = globals->get_props()->getNode(path, true);
_subtreeRoot->addChangeListener(_listener.get());
_listener->registerSubtree(_subtreeRoot);
_lastSendTime = SGTimeStamp::now();
}
MirrorPropertyTreeWebsocket::~MirrorPropertyTreeWebsocket()