Skip to content

Commit f1dc4a2

Browse files
antonskrebkovfinetjul
authored andcommitted
fix(colortransferfunction): add access to set/get Scale
In this case issue was created in vtk discourse
1 parent a03ea48 commit f1dc4a2

File tree

1 file changed

+2
-1
lines changed
  • Sources/Rendering/Core/ColorTransferFunction

1 file changed

+2
-1
lines changed

Sources/Rendering/Core/ColorTransferFunction/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1324,9 +1324,10 @@ export function extend(publicAPI, model, initialValues = {}) {
13241324
macro.setGet(publicAPI, model, [
13251325
'useAboveRangeColor',
13261326
'useBelowRangeColor',
1327-
'colorSpace',
13281327
'discretize',
13291328
'numberOfValues',
1329+
{ type: 'enum', name: 'colorSpace', enum: ColorSpace },
1330+
{ type: 'enum', name: 'scale', enum: Scale },
13301331
]);
13311332

13321333
macro.setArray(

0 commit comments

Comments
 (0)