Index: trunk/FACT++/gui/Q3DCameraWidget.cc
===================================================================
--- trunk/FACT++/gui/Q3DCameraWidget.cc	(revision 14792)
+++ trunk/FACT++/gui/Q3DCameraWidget.cc	(revision 14793)
@@ -31,4 +31,5 @@
             _z[i] = 0;
         }
+        _warningWritten = false;
     }
     Q3DCameraWidget::~Q3DCameraWidget()
@@ -163,7 +164,11 @@
     void Q3DCameraWidget::setData(float* ddata)
     {
-        cout << "Info : 3D plotter disabled. requires more work so that less than 300 slices per pixel can be loaded" << endl;
-        cout << "Contact Etienne (etienne.lyard@unige.ch) for more information." << endl;
-        //disabled for now as I am working with 150 slices only
+        if (!_warningWritten)
+        {
+            _warningWritten = true;
+            cout << "Info : 3D plotter disabled. requires more work so that less than 300 slices per pixel can be loaded" << endl;
+            cout << "Contact Etienne (etienne.lyard@unige.ch) for more information." << endl;
+        }
+       //disabled for now as I am working with 150 slices only
 /*        for (int i=0;i<1440;i++)
             for (int j=0;j<300;j++)
@@ -176,7 +181,11 @@
     void Q3DCameraWidget::setData(short* ddata)
     {
-        cout << "Info : 3D plotter disabled. requires more work so that less than 300 slices per pixel can be loaded" << endl;
-        cout << "Contact Etienne (etienne.lyard@unige.ch) for more information." << endl;
-/*        for (int i=0;i<1440;i++)
+        if (!_warningWritten)
+        {
+            _warningWritten = true;
+            cout << "Info : 3D plotter disabled. requires more work so that less than 300 slices per pixel can be loaded" << endl;
+            cout << "Contact Etienne (etienne.lyard@unige.ch) for more information." << endl;
+        }
+            /*        for (int i=0;i<1440;i++)
             for (int j=0;j<300;j++)
                 _data[i*300+j] = ddata[i* 300 + j];
Index: trunk/FACT++/gui/Q3DCameraWidget.h
===================================================================
--- trunk/FACT++/gui/Q3DCameraWidget.h	(revision 14792)
+++ trunk/FACT++/gui/Q3DCameraWidget.h	(revision 14793)
@@ -75,4 +75,5 @@
     bool isPicking;
     void calculateColorsAndPositions();
+    bool _warningWritten;
 
 };
