From: apl Date: Tue, 21 Jan 2014 13:46:38 +0000 (+0000) Subject: 21854: Add persistent dimensions X-Git-Tag: V7_4_0a1~48 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c45960d4f9a15f0026b38f0d0524fb3de0320e65;p=modules%2Fgeom.git 21854: Add persistent dimensions - Fix for floating-point at BRepLib --- 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 ) { }