diff options
Diffstat (limited to 'BSPTree.cpp')
-rw-r--r-- | BSPTree.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/BSPTree.cpp b/BSPTree.cpp index 6da2531..ff43274 100644 --- a/BSPTree.cpp +++ b/BSPTree.cpp @@ -112,6 +112,8 @@ BSPTree& BSPTree::operator=(const BSPTree &tree) { if(tree.backTree) backTree = new BSPTree(*tree.backTree); + + return *this; } vmml::vec3f BSPTree::findCenter(const std::list<Triangle> &triangles) { |