Mercurial > hg > svgui
comparison layer/Layer.cpp @ 706:97ea68f62c1f imaf_enc
Merge from default branch
author | Chris Cannam |
---|---|
date | Thu, 05 Dec 2013 09:47:02 +0000 |
parents | 1a0dfcbffaf1 |
children | 1d526ba11a24 |
comparison
equal
deleted
inserted
replaced
678:26c5f7fd4807 | 706:97ea68f62c1f |
---|---|
104 } | 104 } |
105 | 105 |
106 PlayParameters * | 106 PlayParameters * |
107 Layer::getPlayParameters() | 107 Layer::getPlayParameters() |
108 { | 108 { |
109 // std::cerr << "Layer (" << this << ", " << objectName() << ")::getPlayParameters: model is "<< getModel() << std::endl; | 109 // cerr << "Layer (" << this << ", " << objectName() << ")::getPlayParameters: model is "<< getModel() << endl; |
110 const Model *model = getModel(); | 110 const Model *model = getModel(); |
111 if (model) { | 111 if (model) { |
112 return PlayParameterRepository::getInstance()->getPlayParameters(model); | 112 return PlayParameterRepository::getInstance()->getPlayParameters(model); |
113 } | 113 } |
114 return 0; | 114 return 0; |
255 if (i->haveReferenceFrame()) { | 255 if (i->haveReferenceFrame()) { |
256 referenceFrame = i->getReferenceFrame(); | 256 referenceFrame = i->getReferenceFrame(); |
257 } | 257 } |
258 long myMappedFrame = alignToReference(v, sourceFrame); | 258 long myMappedFrame = alignToReference(v, sourceFrame); |
259 | 259 |
260 // std::cerr << "sourceFrame = " << sourceFrame << ", referenceFrame = " << referenceFrame << " (have = " << i->haveReferenceFrame() << "), myMappedFrame = " << myMappedFrame << std::endl; | 260 // cerr << "sourceFrame = " << sourceFrame << ", referenceFrame = " << referenceFrame << " (have = " << i->haveReferenceFrame() << "), myMappedFrame = " << myMappedFrame << endl; |
261 | 261 |
262 if (myMappedFrame != referenceFrame) return true; | 262 if (myMappedFrame != referenceFrame) return true; |
263 } | 263 } |
264 | 264 |
265 return false; | 265 return false; |