comparison layer/SliceLayer.cpp @ 587:4806715f7a19

Seems to be a bad idea to use plain DEBUG symbol on OS/X (system wants it)
author Chris Cannam
date Tue, 14 Jun 2011 15:27:05 +0100
parents f4960f8ce798
children 3803f6dcf361
comparison
equal deleted inserted replaced
586:1ae54a29e59e 587:4806715f7a19
71 } 71 }
72 72
73 void 73 void
74 SliceLayer::sliceableModelReplaced(const Model *orig, const Model *replacement) 74 SliceLayer::sliceableModelReplaced(const Model *orig, const Model *replacement)
75 { 75 {
76 DEBUG << "SliceLayer::sliceableModelReplaced(" << orig << ", " << replacement << ")" << endl; 76 SVDEBUG << "SliceLayer::sliceableModelReplaced(" << orig << ", " << replacement << ")" << endl;
77 77
78 if (orig == m_sliceableModel) { 78 if (orig == m_sliceableModel) {
79 setSliceableModel 79 setSliceableModel
80 (dynamic_cast<const DenseThreeDimensionalModel *>(replacement)); 80 (dynamic_cast<const DenseThreeDimensionalModel *>(replacement));
81 } 81 }
82 } 82 }
83 83
84 void 84 void
85 SliceLayer::modelAboutToBeDeleted(Model *m) 85 SliceLayer::modelAboutToBeDeleted(Model *m)
86 { 86 {
87 DEBUG << "SliceLayer::modelAboutToBeDeleted(" << m << ")" << endl; 87 SVDEBUG << "SliceLayer::modelAboutToBeDeleted(" << m << ")" << endl;
88 88
89 if (m == m_sliceableModel) { 89 if (m == m_sliceableModel) {
90 setSliceableModel(0); 90 setSliceableModel(0);
91 } 91 }
92 } 92 }