diff --git a/src/meshlab/customDialog.cpp b/src/meshlab/customDialog.cpp index 187e9c9af..4a8ae9781 100644 --- a/src/meshlab/customDialog.cpp +++ b/src/meshlab/customDialog.cpp @@ -132,6 +132,7 @@ SettingDialog::SettingDialog( RichParameter* currentPar, RichParameter* defaultP dialoglayout->addWidget(closebut,1,4); RichParameterCopyConstructor cp; + RichParameterSet tmpParSet; curPar->accept(cp); tmppar = cp.lastCreated; tmpParSet.addParam(tmppar); diff --git a/src/meshlab/customDialog.h b/src/meshlab/customDialog.h index 006855ab0..33872acba 100644 --- a/src/meshlab/customDialog.h +++ b/src/meshlab/customDialog.h @@ -49,7 +49,6 @@ private: RichParameter* curPar; RichParameter* defPar; RichParameter* tmppar; - RichParameterSet tmpParSet; QPushButton* savebut; QPushButton* applybut; QPushButton* resetbut;