set lmverbose to false as default

This commit is contained in:
Jonathan Bosson
2017-05-12 09:42:46 -06:00
parent 3a6f2a54e5
commit f10c3783fa
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -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;
+3 -2
View File
@@ -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;
}
}