Commit ebf8c6a4 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 60c0a3db
...@@ -116,6 +116,8 @@ void Core::applyOptions(){ ...@@ -116,6 +116,8 @@ void Core::applyOptions(){
target = ACG::SceneGraph::PICK_FRONT_VERTEX; target = ACG::SceneGraph::PICK_FRONT_VERTEX;
} else if ( pickRenderMode == "PICK_FRONT_EDGE") { } else if ( pickRenderMode == "PICK_FRONT_EDGE") {
target = ACG::SceneGraph::PICK_FRONT_EDGE; target = ACG::SceneGraph::PICK_FRONT_EDGE;
} else if ( pickRenderMode == "PICK_CELL") {
target = ACG::SceneGraph::PICK_CELL;
} else { } else {
std::cerr << "Error : optionHandling unable to find pick mode!!! " << pickRenderMode.toStdString() << std::endl; std::cerr << "Error : optionHandling unable to find pick mode!!! " << pickRenderMode.toStdString() << std::endl;
target = ACG::SceneGraph::PICK_ANYTHING; target = ACG::SceneGraph::PICK_ANYTHING;
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<string/> <string/>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>6</number>
</property> </property>
<property name="usesScrollButtons"> <property name="usesScrollButtons">
<bool>true</bool> <bool>true</bool>
...@@ -1797,6 +1797,11 @@ p, li { white-space: pre-wrap; } ...@@ -1797,6 +1797,11 @@ p, li { white-space: pre-wrap; }
<string>PICK_FRONT_EDGE</string> <string>PICK_FRONT_EDGE</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>PICK_CELL</string>
</property>
</item>
</widget> </widget>
</item> </item>
</layout> </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