Commit 93da5a31 authored by Mike Kremer's avatar Mike Kremer

Added PICK_CELL to possible picking modes when rendering picking for debug purposes.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11795 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2fa08786
......@@ -116,6 +116,8 @@ void Core::applyOptions(){
target = ACG::SceneGraph::PICK_FRONT_VERTEX;
} else if ( pickRenderMode == "PICK_FRONT_EDGE") {
target = ACG::SceneGraph::PICK_FRONT_EDGE;
} else if ( pickRenderMode == "PICK_CELL") {
target = ACG::SceneGraph::PICK_CELL;
} else {
std::cerr << "Error : optionHandling unable to find pick mode!!! " << pickRenderMode.toStdString() << std::endl;
target = ACG::SceneGraph::PICK_ANYTHING;
......
......@@ -23,7 +23,7 @@
<string/>
</property>
<property name="currentIndex">
<number>0</number>
<number>6</number>
</property>
<property name="usesScrollButtons">
<bool>true</bool>
......@@ -1797,6 +1797,11 @@ p, li { white-space: pre-wrap; }
<string>PICK_FRONT_EDGE</string>
</property>
</item>
<item>
<property name="text">
<string>PICK_CELL</string>
</property>
</item>
</widget>
</item>
</layout>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment