Trace of rescale to visible data range is wrong
The trace of a "Rescale to Visible Data Range" hardcodes the Color Legend min and max. What we want to do is actually rescale to visible data range. Here is what we have:
# Rescale transfer function
vELLUT.RescaleTransferFunction(54.8958670564, 9091.86587203)
And here is what I want:
# rescale color and/or opacity maps used to exactly fit the current visible data range
canex2Display.RescaleTransferFunctionToVisibleRange(renderView1)
To test:
* Can. Go in a few timesteps.
* Rescale to Data Range.
* Start Trace
* Rescale to Visible Data Range.
* Stop Trace. Check the trace.
* Rescale to Data Range
* Run trace.
Edited by W. Alan Scott