Skip to content

Instantly share code, notes, and snippets.

@ewencp
Created November 10, 2011 23:20
Show Gist options
  • Select an option

  • Save ewencp/1356591 to your computer and use it in GitHub Desktop.

Select an option

Save ewencp/1356591 to your computer and use it in GitHub Desktop.
diff --git a/liboh/src/HostedObject.cpp b/liboh/src/HostedObject.cpp
index a3c6cbb..c115be6 100644
--- a/liboh/src/HostedObject.cpp
+++ b/liboh/src/HostedObject.cpp
@@ -926,6 +926,10 @@ void HostedObject::handleProximityMessage(const SpaceObjectReference& spaceobj,
);
}
}
+ ProxyManagerPtr proxy_manager = self->getProxyManager(spaceobj.space(),spaceobj.object());
+ std::vector<SpaceObjectReference> obj_refs;
+ proxy_manager->getAllObjectReferences(obj_refs);
+ SILOG(foobar, fatal, "Proxies: " << obj_refs.size());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment