Skip to content

Commit

Permalink
fix(LUT): Do not discretize vtkColorTransferFunction with few control…
Browse files Browse the repository at this point in the history
… points
  • Loading branch information
jourdain committed Jun 23, 2023
1 parent a804d55 commit ebfaee4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions trame_vtk/modules/vtk/serializers/lookup_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ def color_transfer_function_serializer(parent, instance, obj_id, context, depth)
if hasattr(instance, "GetNumberOfValues")
else 256
)
elif number_of_values < 256:
discretize = 1

return {
"parent": reference_id(parent),
Expand Down

0 comments on commit ebfaee4

Please sign in to comment.