diff layer/BoxLayer.cpp @ 1535:873ff035364c

Tidy / debug
author Chris Cannam
date Mon, 14 Oct 2019 14:20:02 +0100
parents 37df1530519d
children 4f8c72adbf43
line wrap: on
line diff
--- a/layer/BoxLayer.cpp	Wed Oct 09 13:45:17 2019 +0100
+++ b/layer/BoxLayer.cpp	Mon Oct 14 14:20:02 2019 +0100
@@ -223,10 +223,14 @@
 }
 
 bool
-BoxLayer::adoptExtents(double /* min */, double /* max */, QString unit)
+BoxLayer::adoptExtents(double min, double max, QString unit)
 {
     auto model = ModelById::getAs<BoxModel>(m_model);
     if (!model) return false;
+
+    SVDEBUG << "BoxLayer[" << this << "]::adoptExtents: min " << min
+            << ", max " << max << ", unit " << unit << endl;
+    
     if (model->getScaleUnits() == "") {
         model->setScaleUnits(unit);
         return true;