Mercurial > hg > orthanc-stone
diff OrthancStone/Sources/Scene2D/TextureBaseSceneLayer.h @ 1787:6e8105942146
safeguard in TextureBaseSceneLayer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 15 May 2021 11:47:55 +0200 |
parents | d9c5474c5588 |
children | 3889ae96d2e9 |
line wrap: on
line diff
--- a/OrthancStone/Sources/Scene2D/TextureBaseSceneLayer.h Sat May 15 11:41:58 2021 +0200 +++ b/OrthancStone/Sources/Scene2D/TextureBaseSceneLayer.h Sat May 15 11:47:55 2021 +0200 @@ -46,6 +46,8 @@ uint64_t revision_; std::unique_ptr<AffineTransform2D> transform_; // Manually-specified transformation + void CheckNoManualTransform() const; + protected: void SetTexture(Orthanc::ImageAccessor* texture);