Skip to content

Allow empty bounds in Camera::ResetToBounds

Kenneth Moreland requested to merge kmorel/vtk-m:reset-bounds-empty into master

Although it is generally wrong to try to call ResetToBounds with a Bounds object that does not have a valid range, there are cases where the range might not be valid. (For example, if ResetToBounds was called in a routine that is rendering an empty scene, it would be best not to crash.)

Backport: release

Edited by Kenneth Moreland

Merge request reports