mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 17:30:35 +05:00
INT PAL 0052666: Presentation disappears from the 3D Viewer after that as an operation is applied to the object(some fix)
This commit is contained in:
parent
999aef7d55
commit
2960cb2164
@ -1990,7 +1990,7 @@ bool EntityGUI_FieldDlg::execute()
|
||||
QList<GEOM::GeomObjPtr> EntityGUI_FieldDlg::getSourceObjects()
|
||||
{
|
||||
QList<GEOM::GeomObjPtr> res;
|
||||
GEOM::GeomObjPtr aGeomObjPtr(myShape);
|
||||
GEOM::GeomObjPtr aGeomObjPtr(myField->GetShape());
|
||||
res << aGeomObjPtr;
|
||||
return res;
|
||||
}
|
||||
|
@ -467,3 +467,14 @@ bool GenerationGUI_ThicknessDlg::execute (ObjectList& objects)
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
//=================================================================================
|
||||
// function : getSourceObjects
|
||||
// purpose : virtual method to get source objects
|
||||
//=================================================================================
|
||||
QList<GEOM::GeomObjPtr> GenerationGUI_ThicknessDlg::getSourceObjects()
|
||||
{
|
||||
QList<GEOM::GeomObjPtr> res(myFaces);
|
||||
res << myObject;
|
||||
return res;
|
||||
}
|
||||
|
@ -49,7 +49,8 @@ protected:
|
||||
// redefined from GEOMBase_Helper
|
||||
virtual GEOM::GEOM_IOperations_ptr createOperation();
|
||||
virtual bool isValid( QString& );
|
||||
virtual bool execute( ObjectList& );
|
||||
virtual bool execute( ObjectList& );
|
||||
virtual QList<GEOM::GeomObjPtr> getSourceObjects();
|
||||
|
||||
private:
|
||||
void Init();
|
||||
|
@ -337,6 +337,6 @@ bool OperationGUI_TransferDataDlg::execute (ObjectList& objects)
|
||||
QList<GEOM::GeomObjPtr> OperationGUI_TransferDataDlg::getSourceObjects()
|
||||
{
|
||||
QList<GEOM::GeomObjPtr> res;
|
||||
res << myObject1 << myObject2;
|
||||
res << myObject1;
|
||||
return res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user