Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/FloatTextureSceneLayer.cpp @ 1061:eb28dfe432f7
fixed typo in assert. msg. + getters for custom windowing in grayscale layer configurator.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 15 Oct 2019 10:53:28 +0200 |
parents | 4d1f57773b5b |
children | ba9db2ad317c 2d8ab34c8c91 |
comparison
equal
deleted
inserted
replaced
1034:839d2bff92ab | 1061:eb28dfe432f7 |
---|---|
58 windowing_ = windowing; | 58 windowing_ = windowing; |
59 IncrementRevision(); | 59 IncrementRevision(); |
60 } | 60 } |
61 } | 61 } |
62 } | 62 } |
63 | |
64 | 63 |
65 void FloatTextureSceneLayer::SetCustomWindowing(float customCenter, | 64 void FloatTextureSceneLayer::SetCustomWindowing(float customCenter, |
66 float customWidth) | 65 float customWidth) |
67 { | 66 { |
68 if (customWidth <= 0) | 67 if (customWidth <= 0) |