Skip to content

Commit bf88bc2

Browse files
authored
Merge pull request Kitware#487 from bruyeret/maximum-gradient-opacity
fix(cinematicRendering): fix copy-and-paste error
2 parents 902412d + 8af1491 commit bf88bc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/VtkThreeView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ function useCvrEffect(
249249
(dataRange[1] - dataRange[0]) * 0.01
250250
);
251251
property.setGradientOpacityMinimumOpacity(0, 0.0);
252-
property.setGradientOpacityMinimumOpacity(0, 1.0);
252+
property.setGradientOpacityMaximumOpacity(0, 1.0);
253253
254254
// do not toggle these parameters when animating
255255
property.setAmbient(enabled ? ambient_ : DEFAULT_AMBIENT);

0 commit comments

Comments
 (0)