mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0023106: BRepMesh_IncrementalMesh returns wrong status
Fix compilation errors on Linux platform Squeeze compilation warnings on Linux Fix regressions Back RemoveFaceAttribute for further reasons Fix retrieving of polygon by index Fix applying of location Test case for issue CR23106 Fix memory leak regression 'test bugs vis bug79' occurred due to incorrect memory cleaning of inherited objects by MMgtRaw::Free through BRepMesh_IEdgeTool; Replace BRepMesh_PDiscretRoot by pure pointer to BRepMesh_DiscretRoot; Fix IVtkOCC_ShapeMesher.
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
#include <OSD_SharedLibrary.hxx>
|
||||
#include <OSD_Function.hxx>
|
||||
#include <BRepMesh_IncrementalMesh.hxx>
|
||||
#include <BRepMesh_PDiscretRoot.hxx>
|
||||
#include <BRepMesh_DiscretRoot.hxx>
|
||||
|
||||
namespace
|
||||
{
|
||||
@@ -145,7 +145,7 @@ Standard_Boolean BRepMesh_DiscretFactory::SetDefault(
|
||||
}
|
||||
|
||||
// try to create dummy tool
|
||||
BRepMesh_PDiscretRoot anInstancePtr = NULL;
|
||||
BRepMesh_DiscretRoot* anInstancePtr = NULL;
|
||||
Standard_Integer anErr = aFunc (TopoDS_Shape(), 0.001, 0.1, anInstancePtr);
|
||||
if (anErr != 0 || anInstancePtr == NULL)
|
||||
{
|
||||
@@ -174,7 +174,7 @@ Handle(BRepMesh_DiscretRoot) BRepMesh_DiscretFactory::Discret(
|
||||
const Standard_Real theAngle)
|
||||
{
|
||||
Handle(BRepMesh_DiscretRoot) aDiscretRoot;
|
||||
BRepMesh_PDiscretRoot anInstancePtr = NULL;
|
||||
BRepMesh_DiscretRoot* anInstancePtr = NULL;
|
||||
if (myPluginEntry != NULL)
|
||||
{
|
||||
// use plugin
|
||||
|
Reference in New Issue
Block a user