diff document/Document.cpp @ 95:2678a1f132d2

* Add slice layers (so you can display a slice of a colour 3d plot as if it were a spectrum) * Make spectrum layer a subclass of slice layer
author Chris Cannam
date Fri, 26 Jan 2007 16:59:57 +0000
parents 41c491657587
children dd11619b73ba
line wrap: on
line diff
--- a/document/Document.cpp	Thu Jan 25 17:41:00 2007 +0000
+++ b/document/Document.cpp	Fri Jan 26 16:59:57 2007 +0000
@@ -488,7 +488,8 @@
 	model != m_mainModel &&
 	m_models.find(model) == m_models.end()) {
 	std::cerr << "ERROR: Document::setModel: Layer " << layer
-		  << " is using unregistered model " << model
+		  << " (\"" << layer->objectName().toStdString()
+                  << "\") wants to use unregistered model " << model
 		  << ": register the layer's model before setting it!"
 		  << std::endl;
 	return;