From a4d6e1988cdf97e8eab49aa247c9356d542a2b57 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 23 Mar 2017 17:02:45 +0100 Subject: [PATCH] pp --- Geo/GModelFactory.cpp | 2 +- Geo/GModelIO_GEO.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Geo/GModelFactory.cpp b/Geo/GModelFactory.cpp index cf07dea5f3..bb853d9b59 100644 --- a/Geo/GModelFactory.cpp +++ b/Geo/GModelFactory.cpp @@ -1335,7 +1335,7 @@ void OCCFactory::dilate(GModel *gm, std::vector<double> s, int addToTheModel) const double b = s[1]; const double c = s[2]; - gp_GTrsf transformation; + gp_GTrsf transformation; transformation.SetVectorialPart(gp_Mat(a, 0, 0, 0, b, 0, 0, 0, c)); BRepBuilderAPI_GTransform aTransformation(gm->_occ_internals->getShape(), transformation, Standard_False); diff --git a/Geo/GModelIO_GEO.cpp b/Geo/GModelIO_GEO.cpp index db26089ba5..cb0a950fb0 100644 --- a/Geo/GModelIO_GEO.cpp +++ b/Geo/GModelIO_GEO.cpp @@ -1278,7 +1278,7 @@ void GEO_Internals::synchronize(GModel *model) if(gr) comp.push_back(gr); } r = new GRegionCompound(model, v->Num, comp); - model->add(r); + model->add(r); } else if(!r){ r = new gmshRegion(model, v); -- GitLab