summaryrefslogtreecommitdiff
path: root/src/MainWindow.ui
diff options
context:
space:
mode:
authorOskar Linde <oskar.linde@gmail.com>2014-02-03 14:10:46 (GMT)
committerMarius Kintel <marius@kintel.net>2014-02-06 05:49:41 (GMT)
commit6a1d91dc76ec819e85b180b8cdaf40ddd639a538 (patch)
treea91b502ae5ea6031b9f428b472e7104c847fa3fa /src/MainWindow.ui
parent86d25f04b7da2c520b963f041542b88fd644d1a0 (diff)
Remove automatic validity check at end of render
In more complex cases, the final Nef_Polyhedron is_valid check() took up to 30 % of the total rendering time just to be able to say Valid: YES. In the case of cached geometry, the validity check was totally dominating the execution time when doing a render. This patch removes the automatic validity check, instead adding a menu command "Check Validity". Conflicts: src/mainwin.cc
Diffstat (limited to 'src/MainWindow.ui')
-rw-r--r--src/MainWindow.ui6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/MainWindow.ui b/src/MainWindow.ui
index ddd69ee..a79d054 100644
--- a/src/MainWindow.ui
+++ b/src/MainWindow.ui
@@ -316,6 +316,7 @@
<addaction name="designActionCompile"/>
<addaction name="designActionCompileAndRender"/>
<addaction name="separator"/>
+ <addaction name="designCheckValidity"/>
<addaction name="designActionDisplayAST"/>
<addaction name="designActionDisplayCSGTree"/>
<addaction name="designActionDisplayCSGProducts"/>
@@ -557,6 +558,11 @@
<string>F6</string>
</property>
</action>
+ <action name="designCheckValidity">
+ <property name="text">
+ <string>Check Validity</string>
+ </property>
+ </action>
<action name="designActionDisplayAST">
<property name="text">
<string>Display &amp;AST...</string>
contact: Jan Huwald // Impressum