From c45960d4f9a15f0026b38f0d0524fb3de0320e65 Mon Sep 17 00:00:00 2001 From: apl Date: Tue, 21 Jan 2014 13:46:38 +0000 Subject: [PATCH] 21854: Add persistent dimensions - Fix for floating-point at BRepLib --- src/OBJECT/GEOM_AISDimension.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OBJECT/GEOM_AISDimension.cxx b/src/OBJECT/GEOM_AISDimension.cxx index 80ba58149..90c287d11 100755 --- a/src/OBJECT/GEOM_AISDimension.cxx +++ b/src/OBJECT/GEOM_AISDimension.cxx @@ -81,7 +81,7 @@ void GEOM_AISLength::SetId( const Standard_Integer theId ) // purpose : //================================================================================= GEOM_AISDiameter::GEOM_AISDiameter( const Standard_Integer theId ) -: AIS_DiameterDimension( gp_Circ() ), +: AIS_DiameterDimension( gp_Circ( gp_Ax2( gp::Origin(), gp::DZ() ), 0.0 ) ), myId( theId ) { } -- 2.39.2