mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
More conversions to gasmix
addStop, addGas and createSimpleDive. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
cfb93cb92c
commit
89f3532145
3 changed files with 28 additions and 45 deletions
|
|
@ -605,7 +605,8 @@ void ProfileWidget2::mouseDoubleClickEvent(QMouseEvent *event)
|
|||
|
||||
int minutes = rint(timeAxis->valueAt(mappedPos) / 60);
|
||||
int milimeters = rint(profileYAxis->valueAt(mappedPos) / M_OR_FT(1, 1)) * M_OR_FT(1, 1);
|
||||
plannerModel->addStop(milimeters, minutes * 60, -1, 0, 0, true);
|
||||
struct gasmix ignore = { 0 };
|
||||
plannerModel->addStop(milimeters, minutes * 60, ignore, 0, true, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue