Magne Sjaastad
d8dc1c051f
Fix crash in Camera::computeFitViewEyePosition with zero view direction
...
Zoom All could pass a zero view direction (eye equal to view reference
point). The up vector then also became zero, giving a plane with a zero
normal and an assert in Plane::distanceToOrigin. Fall back to the Y axis
when the direction is zero or undefined. Follow-up to the parallel
dir/up fix in #14849 .
Call stack:
[5] cvf::AssertHandlerConsole::handleAssert(char const*, int, char const*, char const*) at cvfAssert.cpp:125
[6] cvf::Plane::distanceToOrigin() const at cvfPlane.cpp:313
[7] cvf::Camera::computeFitViewEyePosition(cvf::BoundingBox const&, cvf::Vector3<double> const&, cvf::Vector3<double> const&, double, double, double) at cvfCamera.cpp:361
[8] caf::Viewer::zoomAll() at cafViewer.cpp:992
[9] caf::CmdFeature::actionTriggered(bool) at cafCmdFeature.cpp:176
2026-10-19 19:58:37 +02:00
..
2024-01-09 14:38:57 +01:00
2026-04-09 10:34:15 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2026-10-19 19:58:37 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2024-01-09 14:38:57 +01:00
2013-09-20 16:01:20 +02:00
2026-06-23 07:35:45 +02:00
2019-01-08 11:07:37 +01:00
2026-04-09 10:34:15 +02:00
2018-04-19 13:43:12 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2023-09-27 10:16:37 +02:00
2013-09-20 16:01:20 +02:00
2024-01-09 14:38:57 +01:00
2019-01-08 11:07:37 +01:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2024-01-23 08:48:05 +01:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2024-01-23 08:48:05 +01:00
2024-01-23 08:48:05 +01:00
2026-04-09 10:34:15 +02:00
2026-04-09 10:34:15 +02:00
2024-01-23 08:48:05 +01:00
2024-01-23 08:48:05 +01:00
2023-09-27 10:16:37 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2024-01-23 08:48:05 +01:00
2024-01-09 14:38:57 +01:00
2013-10-31 14:57:52 +01:00
2026-04-09 10:34:15 +02:00
2013-10-31 14:57:52 +01:00
2026-04-09 10:34:15 +02:00
2013-10-31 14:57:52 +01:00
2013-10-31 14:57:52 +01:00
2013-10-31 14:57:52 +01:00
2024-01-09 14:38:57 +01:00
2013-10-31 14:57:52 +01:00
2026-04-09 10:34:15 +02:00
2013-10-31 14:57:52 +01:00
2026-04-09 10:34:15 +02:00
2013-10-31 14:57:52 +01:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2024-01-23 08:48:05 +01:00
2019-10-11 14:52:49 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2024-01-09 14:38:57 +01:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2024-01-09 14:38:57 +01:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2026-08-19 07:26:27 +02:00
2013-09-20 16:01:20 +02:00
2024-01-09 14:38:57 +01:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2015-05-13 20:51:44 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2019-05-28 15:58:49 +02:00
2013-09-20 16:01:20 +02:00
2016-08-05 17:19:47 +02:00
2015-05-13 20:51:44 +02:00
2016-08-05 17:19:47 +02:00
2015-05-13 20:51:44 +02:00
2023-08-17 07:02:26 +02:00
2015-05-13 20:51:44 +02:00
2013-09-20 16:01:20 +02:00
2013-10-31 14:57:52 +01:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2024-01-09 14:38:57 +01:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2024-01-09 14:38:57 +01:00
2014-04-11 11:06:42 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2024-01-09 14:38:57 +01:00
2026-04-09 10:34:15 +02:00
2019-01-08 11:07:37 +01:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2013-10-31 14:57:52 +01:00
2023-09-04 15:37:51 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2026-04-09 10:34:15 +02:00
2013-09-20 16:01:20 +02:00
2024-01-09 14:38:57 +01:00
2019-10-11 14:52:49 +02:00