diff layer/SliceLayer.cpp @ 586:1ae54a29e59e

Merge from debug-output branch
author Chris Cannam
date Tue, 14 Jun 2011 14:48:29 +0100
parents f4960f8ce798
children 4806715f7a19
line wrap: on
line diff
--- a/layer/SliceLayer.cpp	Thu Apr 14 15:21:21 2011 +0100
+++ b/layer/SliceLayer.cpp	Tue Jun 14 14:48:29 2011 +0100
@@ -73,7 +73,7 @@
 void
 SliceLayer::sliceableModelReplaced(const Model *orig, const Model *replacement)
 {
-    std::cerr << "SliceLayer::sliceableModelReplaced(" << orig << ", " << replacement << ")" << std::endl;
+    DEBUG << "SliceLayer::sliceableModelReplaced(" << orig << ", " << replacement << ")" << endl;
 
     if (orig == m_sliceableModel) {
         setSliceableModel
@@ -84,7 +84,7 @@
 void
 SliceLayer::modelAboutToBeDeleted(Model *m)
 {
-    std::cerr << "SliceLayer::modelAboutToBeDeleted(" << m << ")" << std::endl;
+    DEBUG << "SliceLayer::modelAboutToBeDeleted(" << m << ")" << endl;
 
     if (m == m_sliceableModel) {
         setSliceableModel(0);