mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 17:30:35 +05:00
Fix compilation error
This commit is contained in:
parent
84a06f4f46
commit
fade4fd38a
@ -512,20 +512,24 @@ bool GenerationGUI_PipeDlg::execute (ObjectList& objects)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
GEOM::ListOfGO_var myBaseGO = new GEOM::ListOfGO();
|
{
|
||||||
GEOM::ListOfGO_var myLocationsGO = new GEOM::ListOfGO();
|
GEOM::ListOfGO_var myBaseGO = new GEOM::ListOfGO();
|
||||||
myBaseGO->length( myBaseObjects.count() );
|
GEOM::ListOfGO_var myLocationsGO = new GEOM::ListOfGO();
|
||||||
myLocationsGO->length( myLocations.count() );
|
myBaseGO->length( myBaseObjects.count() );
|
||||||
for (int i = 0; i < myBaseObjects.count(); i++) {
|
myLocationsGO->length( myLocations.count() );
|
||||||
myBaseGO[i] = myBaseObjects[i].copy();
|
for (int i = 0; i < myBaseObjects.count(); i++) {
|
||||||
}
|
myBaseGO[i] = myBaseObjects[i].copy();
|
||||||
for (int i = 0; i < myLocations.count(); i++) {
|
}
|
||||||
myLocationsGO[i] = myLocations[i].copy();
|
for (int i = 0; i < myLocations.count(); i++) {
|
||||||
}
|
myLocationsGO[i] = myLocations[i].copy();
|
||||||
|
}
|
||||||
|
|
||||||
anObj = anOper->MakePipeWithDifferentSections(myBaseGO.in(), myLocationsGO.in(), myPath.get(), GroupMakePoints->CheckBox1->isChecked(), GroupMakePoints->CheckBox2->isChecked());
|
anObj = anOper->MakePipeWithDifferentSections(myBaseGO.in(), myLocationsGO.in(), myPath.get(),
|
||||||
if (!anObj->_is_nil())
|
GroupMakePoints->CheckBox1->isChecked(),
|
||||||
objects.push_back(anObj._retn());
|
GroupMakePoints->CheckBox2->isChecked());
|
||||||
|
if (!anObj->_is_nil())
|
||||||
|
objects.push_back(anObj._retn());
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user