Fix volume pipeline range check to work with cell_data#1020
Conversation
|
@topikuu thanks for the fix but can you give us some more information about what the actual issue is? If possible, maybe add a code snippet which we can use to reproduce the issue. |
|
Here's a minimal example which triggers the error: The repeated messages then appear if |
|
@topikuu the CI failure is unrelated so you can ignore them. |
prabhuramachandran
left a comment
There was a problem hiding this comment.
Thank you for the fix, this looks good barring the small change I have requested. Please update this and I can merge this before the upcoming release.
| if point_name is None and cell_name is None: | ||
| error('No scalars in input data!') | ||
| rng = (0, 255) | ||
| elif not point_name is None: |
There was a problem hiding this comment.
This should be elif point_name is not None:
|
@topikuu -- could you also please rebase to current master so the tests will run. Thanks. |
Previously trying to render volume views of UnstructuredGrids with cell_data as the rendered scalar field caused constant error messages although there are no real issues with them. Signed-off-by: Topi Kuutela <topi.kuutela@aalto.fi>
1b4a11a to
89b0030
Compare
|
thanks @topikuu |
Previously trying to render volume views of UnstructuredGrids with
cell_data as the rendered scalar field caused constant error
messages although there are no real issues with them.
Signed-off-by: Topi Kuutela topi.kuutela@aalto.fi