mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
MainWindow::createCamera() fixed parameters not passed by reference
This commit is contained in:
@@ -308,8 +308,8 @@ protected:
|
||||
virtual Camera * createCamera(
|
||||
Camera ** odomSensor,
|
||||
Transform & odomSensorExtrinsics,
|
||||
double odomSensorTimeOffset,
|
||||
float odomSensorScaleFactor);
|
||||
double & odomSensorTimeOffset,
|
||||
float & odomSensorScaleFactor);
|
||||
|
||||
private:
|
||||
Ui_mainWindow * _ui;
|
||||
|
||||
@@ -5356,8 +5356,8 @@ void MainWindow::editDatabase()
|
||||
Camera * MainWindow::createCamera(
|
||||
Camera ** odomSensor,
|
||||
Transform & odomSensorExtrinsics,
|
||||
double odomSensorTimeOffset,
|
||||
float odomSensorScaleFactor)
|
||||
double & odomSensorTimeOffset,
|
||||
float & odomSensorScaleFactor)
|
||||
{
|
||||
Camera * camera = _preferencesDialog->createCamera();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user