0032351: Visualization, PrsDim_LengthDimension - add NULL checks for handling non...
authorkgv <kgv@opencascade.com>
Mon, 10 May 2021 06:05:11 +0000 (09:05 +0300)
committerbugmaster <bugmaster@opencascade.com>
Tue, 11 May 2021 16:24:10 +0000 (19:24 +0300)
commit14ba0bbad74542fdbe0dbc3ccfc86d08bc691ad3
treeb32b7225071ba581b835d204386dedf5c8f7a144
parent1220d98e7ad7320bc4ce575e9d26a11d3d70da74
0032351: Visualization, PrsDim_LengthDimension - add NULL checks for handling non-Line curves

Added several missing NULL-checks.
Reduced restrictions on building Edge-Edge and Edge-Vertex length dimension.
Added empty constructor for more straightforward initialization from vdimension command.
src/PrsDim/PrsDim.cxx
src/PrsDim/PrsDim_LengthDimension.cxx
src/PrsDim/PrsDim_LengthDimension.hxx
src/ViewerTest/ViewerTest_RelationCommands.cxx
tests/v3d/dimensions/bug26317
tests/v3d/dimensions/bug32351 [new file with mode: 0644]