summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-05-24 22:40:09 (GMT)
committerMarius Kintel <marius@kintel.net>2013-05-24 22:40:09 (GMT)
commite1766faeeda4218a453121ec81f8007cc1a1734d (patch)
tree409e8ae7f7fb2065499cf44b038497b6a5daf689 /src/mainwin.cc
parentef9d8a853be1a6d6ca48239fcc79106ba374ee21 (diff)
Initial implementation of improved operator handling. Provides the bulk of work for #304
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r--src/mainwin.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index da3501d..1ac96fa 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -771,14 +771,14 @@ void MainWindow::compileCSG(bool procevents)
}
if (this->root_chain &&
- (this->root_chain->polysets.size() >
+ (this->root_chain->objects.size() >
Preferences::inst()->getValue("advanced/openCSGLimit").toUInt())) {
- PRINTB("WARNING: Normalized tree has %d elements!", this->root_chain->polysets.size());
+ PRINTB("WARNING: Normalized tree has %d elements!", this->root_chain->objects.size());
PRINT("WARNING: OpenCSG rendering has been disabled.");
}
else {
PRINTB("Normalized CSG tree has %d elements",
- (this->root_chain ? this->root_chain->polysets.size() : 0));
+ (this->root_chain ? this->root_chain->objects.size() : 0));
this->opencsgRenderer = new OpenCSGRenderer(this->root_chain,
this->highlights_chain,
this->background_chain,
contact: Jan Huwald // Impressum