diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-03-12 00:40:02 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-03-12 00:40:02 (GMT) |
commit | 4fa2338b267bdf6e08385ae103b5bafe7b4ee6e4 (patch) | |
tree | 3e9ed971b08ee7f34057bddf943ec4b742ffc0e4 /src/CGAL_Nef_polyhedron_DxfData.cc | |
parent | 7294d29789606111dcc2c9eafd451ce660f2cb15 (diff) |
fix bug showed during circle test
Diffstat (limited to 'src/CGAL_Nef_polyhedron_DxfData.cc')
-rw-r--r-- | src/CGAL_Nef_polyhedron_DxfData.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CGAL_Nef_polyhedron_DxfData.cc b/src/CGAL_Nef_polyhedron_DxfData.cc index f7ff7f3..0388fe5 100644 --- a/src/CGAL_Nef_polyhedron_DxfData.cc +++ b/src/CGAL_Nef_polyhedron_DxfData.cc @@ -128,7 +128,7 @@ void CGAL_Nef_polyhedron::transform( const Transform3d &matrix ) Tree nulltree; CGALEvaluator tmpeval(nulltree); CGAL_Nef_polyhedron N = tmpeval.evaluateCGALMesh(ps); - this->p2.reset( new CGAL_Nef_polyhedron2( *N.p2 ) ); + if ( N.p2 ) this->p2.reset( new CGAL_Nef_polyhedron2( *N.p2 ) ); delete dd; } } |