mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add debug function dump_cylinders
This function can be used to dump print all cylinder data. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
4e36b2509c
commit
8a92484b0c
3 changed files with 27 additions and 0 deletions
|
@ -488,6 +488,9 @@ void CylindersModel::updateDive()
|
|||
{
|
||||
clear();
|
||||
rows = 0;
|
||||
#ifdef DEBUG_CYL
|
||||
dump_cylinders(&displayed_dive, true);
|
||||
#endif
|
||||
for (int i = 0; i < MAX_CYLINDERS; i++) {
|
||||
if (show_cylinder(&displayed_dive, i))
|
||||
rows = i + 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue