From 9e308f4821d5286579c5496bcaabb65421312d43 Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Fri, 29 Mar 2013 08:59:50 -0700 Subject: [PATCH] added debugging --- shared/src/VoxelTree.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shared/src/VoxelTree.cpp b/shared/src/VoxelTree.cpp index c51c01a285..1334a62d25 100644 --- a/shared/src/VoxelTree.cpp +++ b/shared/src/VoxelTree.cpp @@ -394,7 +394,7 @@ void VoxelTree::reaverageVoxelColors(VoxelNode *startNode) { } if (hasChildren) { - bool childrenCollapsed = startNode->collapseIdenticalLeaves(); + bool childrenCollapsed = false;//startNode->collapseIdenticalLeaves(); if (!childrenCollapsed) { startNode->setColorFromAverageOfChildren(); } @@ -541,4 +541,5 @@ void VoxelTree::createSphere(float r,float xc, float yc, float zc, float s, bool } } this->reaverageVoxelColors(this->rootNode); + this->printTreeForDebugging(this->rootNode); } \ No newline at end of file