src/miscallenous.cc

changeset 714
b4a990f59a5e
parent 662
2f1bd9112408
child 733
cc39df788660
equal deleted inserted replaced
713:46377d340c23 714:b4a990f59a5e
158 // Allow leading hyphen for negatives 158 // Allow leading hyphen for negatives
159 if (i == 0 && c == '-') 159 if (i == 0 && c == '-')
160 continue; 160 continue;
161 161
162 // Check for decimal point 162 // Check for decimal point
163 if (!gotDot && c == '.') 163 if (not gotDot && c == '.')
164 { 164 {
165 gotDot = true; 165 gotDot = true;
166 continue; 166 continue;
167 } 167 }
168 168
267 267
268 ui.customX->setValue (edit_customrotpoint.x()); 268 ui.customX->setValue (edit_customrotpoint.x());
269 ui.customY->setValue (edit_customrotpoint.y()); 269 ui.customY->setValue (edit_customrotpoint.y());
270 ui.customZ->setValue (edit_customrotpoint.z()); 270 ui.customZ->setValue (edit_customrotpoint.z());
271 271
272 if (!dlg->exec()) 272 if (not dlg->exec())
273 return; 273 return;
274 274
275 edit_rotpoint = 275 edit_rotpoint =
276 (ui.objectPoint->isChecked()) ? EObjectOrigin : 276 (ui.objectPoint->isChecked()) ? EObjectOrigin :
277 (ui.worldPoint->isChecked()) ? EWorldOrigin : 277 (ui.worldPoint->isChecked()) ? EWorldOrigin :

mercurial