mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-19 00:00:36 +05:00
IPAL21294 Change Orientation for Vector with "Create a Copy" creates an Edge.
This commit is contained in:
parent
664761d8f9
commit
7d902cea10
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user