databaseviewer set default CameraLockZ=false on constraints view

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1593 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2014-07-23 21:30:27 +00:00
parent 3615ea1e21
commit ab1d4eb232
2 changed files with 9 additions and 3 deletions
+3
View File
@@ -107,6 +107,8 @@ DatabaseViewer::DatabaseViewer(QWidget * parent) :
connect(ui_->spinBox_optimizationsFrom, SIGNAL(editingFinished()), this, SLOT(updateGraphView()));
connect(ui_->checkBox_initGuess, SIGNAL(stateChanged(int)), this, SLOT(updateGraphView()));
ui_->constraintsViewer->setCameraLockZ(false);
}
DatabaseViewer::~DatabaseViewer()
@@ -505,6 +507,7 @@ void DatabaseViewer::view3DMap()
QVBoxLayout *layout = new QVBoxLayout();
layout->addWidget(viewer);
viewer->setCameraLockZ(false);
window->setLayout(layout);
window->showNormal();