diff --git a/Geo/GModelFactory.cpp b/Geo/GModelFactory.cpp index cf07dea5f3216deb8754d5fe09d4794ddf67fd63..bb853d9b59efd5c1262d499d1c008dfbeb1e2603 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 db26089ba5331d24bcaf2c0977e2c29aa479f733..cb0a950fb0bd4d76a0eb676df1c27158ff38ff87 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);