Remove unused ModelTree::getModelAt

This commit is contained in:
Ryan Huffman 2014-08-01 13:04:03 -07:00
parent 355cf07443
commit b98ee351a5
2 changed files with 0 additions and 6 deletions

View file

@ -112,10 +112,6 @@ bool FindAndUpdateModelOperator::PostRecursion(OctreeElement* element) {
}
ModelTreeElement* ModelTree::getModelAt(float x, float y, float z, float s) const {
return static_cast<ModelTreeElement*>(getOctreeElementAt(x, y, z, s));
}
// TODO: improve this to not use multiple recursions
void ModelTree::storeModel(const ModelItem& model, const SharedNodePointer& senderNode) {
// First, look for the existing model in the tree..

View file

@ -36,8 +36,6 @@ public:
/// Type safe version of getRoot()
ModelTreeElement* getRoot() { return static_cast<ModelTreeElement*>(_rootElement); }
ModelTreeElement* getModelAt(float x, float y, float z, float s) const;
// These methods will allow the OctreeServer to send your tree inbound edit packets of your
// own definition. Implement these to allow your octree based server to support editing
virtual bool getWantSVOfileVersions() const { return true; }