diff data/model/Model.cpp @ 371:d77e1fa49e26

* More work on aligning copy/paste between layers. It's a surprisingly complicated business.
author Chris Cannam
date Wed, 06 Feb 2008 12:49:49 +0000
parents ac300d385ab2
children 5858cc462d0a
line wrap: on
line diff
--- a/data/model/Model.cpp	Mon Feb 04 16:48:52 2008 +0000
+++ b/data/model/Model.cpp	Wed Feb 06 12:49:49 2008 +0000
@@ -102,7 +102,7 @@
 {
     if (!m_alignment) {
         if (m_sourceModel) return m_sourceModel->getAlignmentReference();
-        return this;
+        return 0;
     }
     return m_alignment->getReferenceModel();
 }