comparison view/View.cpp @ 1508:395ef06beab1

Comment
author Chris Cannam
date Mon, 16 Sep 2019 13:34:56 +0100
parents 996e971df9e7
children 4f8c72adbf43
comparison
equal deleted inserted replaced
1507:996e971df9e7 1508:395ef06beab1
2279 2279
2280 ViewProxy proxy(this, dpratio); 2280 ViewProxy proxy(this, dpratio);
2281 2281
2282 // Some layers may need an aligning proxy. If a layer's model has 2282 // Some layers may need an aligning proxy. If a layer's model has
2283 // a source model that is the reference model for the aligning 2283 // a source model that is the reference model for the aligning
2284 // model, and the layer is tagged as to be aligned, then we use an 2284 // model, and the layer is tagged as to be aligned, then we might
2285 // aligning proxy. 2285 // use an aligning proxy. Note this is actually made use of only
2286 // if m_useAligningProxy is true further down.
2286 2287
2287 ModelId alignmentModelId; 2288 ModelId alignmentModelId;
2288 ModelId alignmentReferenceId; 2289 ModelId alignmentReferenceId;
2289 auto aligningModel = ModelById::get(getAligningModel()); 2290 auto aligningModel = ModelById::get(getAligningModel());
2290 if (aligningModel) { 2291 if (aligningModel) {