Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 330 vs 331 for /trunk/Source Code/AI/Sensors/VisualSensor.cpp

Diff revisions: vs.
  @@ -29,14 +29,20 @@
29 29 NodeContainer::const_iterator nodeEntry = container->second.find(node->getGUID());
30 30 if (nodeEntry == container->second.end()) {
31 31 hashAlg::emplace(container->second, node->getGUID(), node);
32 - node->registerDeletionCallback( DELEGATE_BIND( &VisualSensor::unfollowSceneGraphNode, this, containerID, node->getGUID() ) );
32 + node->registerDeletionCallback(DELEGATE_BIND(&VisualSensor::unfollowSceneGraphNode,
33 + this,
34 + containerID,
35 + node->getGUID()));
33 36 } else {
34 37 ERROR_FN("VisualSensor: Added the same node to follow twice!");
35 38 }
36 39 } else {
37 40 NodeContainer& newContainer = _nodeContainerMap[containerID];
38 41 hashAlg::emplace(newContainer, node->getGUID(), node);
39 - node->registerDeletionCallback( DELEGATE_BIND( &VisualSensor::unfollowSceneGraphNode, this, containerID, node->getGUID() ) );
42 + node->registerDeletionCallback(DELEGATE_BIND(&VisualSensor::unfollowSceneGraphNode,
43 + this,
44 + containerID,
45 + node->getGUID() ) );
40 46 }
41 47
42 48 NodePositions& positions = _nodePositionsMap[containerID];