Sat, 03/19/2011 - 23:56
Forums:
https://github.com/tpaviot/oce/commit/2101c046536f56a04c727fd32c3b4e42f7...
OCC650PATCH
--- a/ros/src/BRepTools/BRepTools_Modifier.cxx
+++ b/ros/src/BRepTools/BRepTools_Modifier.cxx
@@ -372,7 +372,7 @@ Standard_Boolean BRepTools_Modifier::Rebuild
if ( ! isClosed )
{
TopLoc_Location aLoc;
- TopoDS_Shape resface = (myMap.IsBound(face) ? myMap(face) : face);
+ TopoDS_Shape resface = (myMap.IsBound(face) ? myMap(face) : (TopoDS_Shape)face);
if(resface.IsNull())
resface = face;
Handle(Geom_Surface) aSurf = BRep_Tool::Surface(TopoDS::Face(resface), aLoc);
Sun, 03/20/2011 - 03:58
Ack! This patch is not necessary with the official sources. I need to dig into this and figure out what the @%$^@%# is going on.
Sorry
Mark