From: dmv Date: Mon, 31 Aug 2009 08:53:47 +0000 (+0000) Subject: IPAL21294 Change Orientation for Vector with "Create a Copy" creates an Edge. X-Git-Tag: V5_1_3rc1~40 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7d902cea109aa7795e75b38a640a7a15d567e225;p=modules%2Fgeom.git IPAL21294 Change Orientation for Vector with "Create a Copy" creates an Edge. --- diff --git a/src/GEOMImpl/GEOMImpl_IHealingOperations.cxx b/src/GEOMImpl/GEOMImpl_IHealingOperations.cxx index 6057b7a37..d08923381 100644 --- a/src/GEOMImpl/GEOMImpl_IHealingOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IHealingOperations.cxx @@ -870,7 +870,7 @@ Handle(GEOM_Object) GEOMImpl_IHealingOperations::ChangeOrientationCopy (Handle(G return NULL; //There is no function which creates an object to be processed // Add a new object - Handle(GEOM_Object) aNewObject = GetEngine()->AddObject( GetDocID(), GEOM_COPY ); + Handle(GEOM_Object) aNewObject = GetEngine()->AddObject( GetDocID(), theObject->GetType() ); //Add the function aFunction = aNewObject->AddFunction(GEOMImpl_HealingDriver::GetID(), CHANGE_ORIENTATION);