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
This commit is contained in:
parent
5b935c9b4f
commit
4ca9a3e8ad
@ -307,7 +307,9 @@ void RepairGUI_ChangeOrientationDlg::CreateCopyModeChanged( bool isCreateCopy )
|
||||
QList<GEOM::GeomObjPtr> RepairGUI_ChangeOrientationDlg::getSourceObjects()
|
||||
{
|
||||
QList<GEOM::GeomObjPtr> res;
|
||||
GEOM::GeomObjPtr aGeomObjPtr(myObject);
|
||||
res << aGeomObjPtr;
|
||||
if ( GroupPoints->CheckButton1->isChecked() ) {
|
||||
GEOM::GeomObjPtr aGeomObjPtr(myObject);
|
||||
res << aGeomObjPtr;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
@ -461,7 +461,10 @@ void TransformationGUI_MirrorDlg::addSubshapesToStudy()
|
||||
//=================================================================================
|
||||
QList<GEOM::GeomObjPtr> TransformationGUI_MirrorDlg::getSourceObjects()
|
||||
{
|
||||
QList<GEOM::GeomObjPtr> res(myObjects);
|
||||
res << myArgument;
|
||||
QList<GEOM::GeomObjPtr> res;
|
||||
if ( GroupPoints->CheckButton1->isChecked() ) {
|
||||
res.append(myObjects);
|
||||
res << myArgument;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
@ -335,5 +335,8 @@ void TransformationGUI_OffsetDlg::CreateCopyModeChanged()
|
||||
//=================================================================================
|
||||
QList<GEOM::GeomObjPtr> TransformationGUI_OffsetDlg::getSourceObjects()
|
||||
{
|
||||
return myObjects;
|
||||
QList<GEOM::GeomObjPtr> res;
|
||||
if ( GroupPoints->CheckButton1->isChecked() )
|
||||
res.append( myObjects );
|
||||
return res;
|
||||
}
|
||||
|
@ -615,7 +615,10 @@ void TransformationGUI_PositionDlg::addSubshapesToStudy()
|
||||
//=================================================================================
|
||||
QList<GEOM::GeomObjPtr> TransformationGUI_PositionDlg::getSourceObjects()
|
||||
{
|
||||
QList<GEOM::GeomObjPtr> res(myObjects);
|
||||
res << myStartLCS << myEndLCS << myPath;
|
||||
QList<GEOM::GeomObjPtr> res;
|
||||
if ( Group1->CheckButton1->isChecked() ) {
|
||||
res.append(myObjects);
|
||||
res << myStartLCS << myEndLCS << myPath;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
@ -623,7 +623,10 @@ void TransformationGUI_RotationDlg::addSubshapesToStudy()
|
||||
//=================================================================================
|
||||
QList<GEOM::GeomObjPtr> TransformationGUI_RotationDlg::getSourceObjects()
|
||||
{
|
||||
QList<GEOM::GeomObjPtr> res(myObjects);
|
||||
res << myAxis << myCentPoint << myPoint1 << myPoint2;
|
||||
QList<GEOM::GeomObjPtr> res;
|
||||
if ( GroupPoints->CheckButton1->isChecked() ) {
|
||||
res.append(myObjects);
|
||||
res << myAxis << myCentPoint << myPoint1 << myPoint2;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
@ -541,6 +541,7 @@ void TransformationGUI_ScaleDlg::addSubshapesToStudy()
|
||||
QList<GEOM::GeomObjPtr> TransformationGUI_ScaleDlg::getSourceObjects()
|
||||
{
|
||||
QList<GEOM::GeomObjPtr> res(myObjects);
|
||||
res << myPoint;
|
||||
if ( CheckBoxCopy->isChecked() )
|
||||
res << myPoint;
|
||||
return res;
|
||||
}
|
||||
|
@ -694,7 +694,10 @@ void TransformationGUI_TranslationDlg::createPathPreview ( GEOM::GEOM_Object_ptr
|
||||
//=================================================================================
|
||||
QList<GEOM::GeomObjPtr> TransformationGUI_TranslationDlg::getSourceObjects()
|
||||
{
|
||||
QList<GEOM::GeomObjPtr> res(myObjects);
|
||||
res << myVector << myPoint1 << myPoint2;
|
||||
QList<GEOM::GeomObjPtr> res;
|
||||
if ( GroupPoints->CheckBox2->isChecked() ) {
|
||||
res.append(myObjects);
|
||||
res << myVector << myPoint1 << myPoint2;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user