mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-08 04:20:14 -05:00
set lmverbose to false as default
This commit is contained in:
@@ -30,7 +30,7 @@ OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// set parameters required by levmarq() to default values
|
||||
void levmarq_init(LMstat *lmstat) {
|
||||
lmstat->verbose = true;
|
||||
lmstat->verbose = false;
|
||||
lmstat->max_it = 5000;
|
||||
lmstat->init_lambda = 1e-6;
|
||||
lmstat->up_factor = 10;
|
||||
|
||||
@@ -60,7 +60,7 @@ using namespace openspace;
|
||||
TouchInteraction::TouchInteraction()
|
||||
: properties::PropertyOwner("TouchInteraction"),
|
||||
_origin("origin", "Origin", ""),
|
||||
_lmVerbose("LM verbose", "Save data from LM algorithm", true),
|
||||
_lmVerbose("LM verbose", "Save data from LM algorithm", false),
|
||||
_unitTest("Click to take a unit test", "Take a unit test saving the LM data into file", false),
|
||||
_maxTapTime("Max Tap Time", "Max tap delay (in ms) for double tap", 300, 10, 1000),
|
||||
_touchScreenSize("TouchScreenSize", "Touch Screen size in inches", 55.0f, 5.5f, 150.0f),
|
||||
@@ -603,7 +603,7 @@ void TouchInteraction::step(double dt) {
|
||||
|
||||
void TouchInteraction::unitTest() {
|
||||
if (_unitTest) {
|
||||
_lmVerbose = true;
|
||||
_lmVerbose = _lmstat.verbose = true;
|
||||
// time set and paused in .scene file
|
||||
//openspace.time.setTime("2016 SEP 8 23:00:00.500")
|
||||
//openspace.time.togglePause()
|
||||
@@ -656,6 +656,7 @@ void TouchInteraction::unitTest() {
|
||||
// clear everything
|
||||
_selected.clear();
|
||||
_unitTest = false;
|
||||
_lmVerbose = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user