Skip to content

vtkSMCoreUtilities: Revert range adjustment logic

Ben Boeckel requested to merge ben.boeckel/paraview:revert-range-logic into master

It seems that there is a code generation bug in GCC which has crept into our binaries. For zero-length ranges near zero, the integer manipulation logic does not work and comes out with a zero range again.

Debugging shows that the floating point values come out of the AdjustTRange function fine, but are zero'd again when assigned back into the double using the cvtss2sd instruction.

This reverts the following commits:

"Add include needed for old gcc versions"
commit d93bc11bce8b935c8a4feebe8b7af792b06f2cab

"Update the tiny range delta to work when passing in doubles"
commit fe2cf0b0c89f79076219df7c7ea211e38ad89ae0

"Fix strict aliasing warnings in vtkSMCoreUtilities AdjustRange"
commit 450a1545e2a777e83568e7a975df1212306a7133

"vtkSMCoreUtilities now adjusts ranges properly when min~=max."
commit 604cbe44c15ce547a631508a30ad744b6984c402

Merge request reports