Remove debugging statements from previous commit
This commit is contained in:
parent
19360666fe
commit
7205eae5d9
1 changed files with 0 additions and 6 deletions
|
|
@ -29,8 +29,6 @@
|
||||||
#include "polyset.h"
|
#include "polyset.h"
|
||||||
#include "csgterm.h"
|
#include "csgterm.h"
|
||||||
#include "stl-utils.h"
|
#include "stl-utils.h"
|
||||||
#include "printutils.h"
|
|
||||||
#include <string>
|
|
||||||
|
|
||||||
#ifdef ENABLE_OPENCSG
|
#ifdef ENABLE_OPENCSG
|
||||||
# include <opencsg.h>
|
# include <opencsg.h>
|
||||||
|
|
@ -90,7 +88,6 @@ void OpenCSGRenderer::renderCSGChain(CSGChain *chain, GLint *shaderinfo,
|
||||||
glDepthFunc(GL_EQUAL);
|
glDepthFunc(GL_EQUAL);
|
||||||
}
|
}
|
||||||
if (shaderinfo) glUseProgram(shaderinfo[0]);
|
if (shaderinfo) glUseProgram(shaderinfo[0]);
|
||||||
std::string productstr = highlight ? "Highlights CSG rendering chain:" : (background ? "Background CSG rendering chain:" : "CSG rendering chain:");
|
|
||||||
const CSGChainObject &parent_obj = chain->objects[j];
|
const CSGChainObject &parent_obj = chain->objects[j];
|
||||||
for (; j < i; j++) {
|
for (; j < i; j++) {
|
||||||
const CSGChainObject &j_obj = chain->objects[j];
|
const CSGChainObject &j_obj = chain->objects[j];
|
||||||
|
|
@ -119,11 +116,8 @@ void OpenCSGRenderer::renderCSGChain(CSGChain *chain, GLint *shaderinfo,
|
||||||
glMultMatrixd(j_obj.matrix.data());
|
glMultMatrixd(j_obj.matrix.data());
|
||||||
render_surface(j_obj.geom, csgmode, j_obj.matrix, shaderinfo);
|
render_surface(j_obj.geom, csgmode, j_obj.matrix, shaderinfo);
|
||||||
glPopMatrix();
|
glPopMatrix();
|
||||||
|
|
||||||
productstr += (j_obj.type == CSGTerm::TYPE_DIFFERENCE ? " -" : (CSGTerm::TYPE_UNION ? "+" : " *")) + j_obj.label;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
PRINTD(productstr);
|
|
||||||
|
|
||||||
if (shaderinfo) glUseProgram(0);
|
if (shaderinfo) glUseProgram(0);
|
||||||
for (unsigned int k = 0; k < primitives.size(); k++) {
|
for (unsigned int k = 0; k < primitives.size(); k++) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue