Skip to content

Commit

Permalink
min intensity correction
Browse files Browse the repository at this point in the history
  • Loading branch information
ekatrukha committed Oct 23, 2024
1 parent 79a0f16 commit ed6f365
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,10 +317,10 @@ public LutCSTextureBT getLUTTexture() {

@Override
public void setRenderType(int nRender) {
if (nRender >=1)
nRenderType = 1;
else
if (nRender >2 || nRender <0)
nRenderType = 0;
else
nRenderType = nRender;
listeners.list.forEach( l -> l.setupParametersChanged( this ) );
}

Expand Down

0 comments on commit ed6f365

Please sign in to comment.