Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
370:e73a1a1e8f24 | 371:d77e1fa49e26 |
---|---|
100 const Model * | 100 const Model * |
101 Model::getAlignmentReference() const | 101 Model::getAlignmentReference() const |
102 { | 102 { |
103 if (!m_alignment) { | 103 if (!m_alignment) { |
104 if (m_sourceModel) return m_sourceModel->getAlignmentReference(); | 104 if (m_sourceModel) return m_sourceModel->getAlignmentReference(); |
105 return this; | 105 return 0; |
106 } | 106 } |
107 return m_alignment->getReferenceModel(); | 107 return m_alignment->getReferenceModel(); |
108 } | 108 } |
109 | 109 |
110 size_t | 110 size_t |