Skip to content
Snippets Groups Projects
Commit ce551c31 authored by Jan Möbius's avatar Jan Möbius
Browse files

Debuggin code for tracing bug

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11553 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 744d2e5f
Branches
Tags
No related merge requests found
......@@ -61,9 +61,7 @@
//-----------------------------------------------------------------------------
void CoreWidget::setActionMode(const Viewer::ActionMode _am){
std::cerr << "Switching action mode 1 " << std::endl;
if (_am != actionMode_) {
std::cerr << "Switching action mode 2 " << std::endl;
lastActionMode_ = actionMode_;
actionMode_ = _am;
......@@ -74,7 +72,6 @@ void CoreWidget::setActionMode(const Viewer::ActionMode _am){
pickButton_->setDown(false);
questionButton_->setDown(false);
std::cerr << "Switching action mode 3 " << std::endl;
switch (_am)
{
case Viewer::ExamineMode:
......@@ -90,7 +87,6 @@ void CoreWidget::setActionMode(const Viewer::ActionMode _am){
break;
}
std::cerr << "Switching action mode 4 " << std::endl;
// update cursor
switch ( _am )
{
......@@ -111,14 +107,10 @@ void CoreWidget::setActionMode(const Viewer::ActionMode _am){
break;
}
std::cerr << "Switching action mode 5 " << std::endl;
//update Viewers
for ( unsigned int i = 0 ; i < OpenFlipper::Options::examinerWidgets() ; ++i ) {
std::cerr << "Configuring viewer " << i << std::endl;
examiner_widgets_[i]->sceneGraph( PluginFunctions::getSceneGraphRootNode() );
examiner_widgets_[i]->trackMouse(false);
......@@ -143,7 +135,6 @@ void CoreWidget::setActionMode(const Viewer::ActionMode _am){
break;
}
}
std::cerr << "Switching action mode 6 " << std::endl;
//emit pickmodeChanged with either the name of the current pickmode or an empty string
if( pickingMode() )
......@@ -255,7 +246,6 @@ void CoreWidget::hidePopupMenus()
void CoreWidget::pickMode( int _id )
{
std::cerr << "Setting pick mode" << std::endl;
if (_id < (int) pick_modes_.size() )
{
pick_mode_idx_ = _id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment