Fix compilation error

This commit is contained in:
kga 2013-10-30 13:02:47 +00:00
parent 84a06f4f46
commit fade4fd38a

View File

@ -512,6 +512,7 @@ bool GenerationGUI_PipeDlg::execute (ObjectList& objects)
}
break;
case 2:
{
GEOM::ListOfGO_var myBaseGO = new GEOM::ListOfGO();
GEOM::ListOfGO_var myLocationsGO = new GEOM::ListOfGO();
myBaseGO->length( myBaseObjects.count() );
@ -523,9 +524,12 @@ bool GenerationGUI_PipeDlg::execute (ObjectList& objects)
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(),
GroupMakePoints->CheckBox1->isChecked(),
GroupMakePoints->CheckBox2->isChecked());
if (!anObj->_is_nil())
objects.push_back(anObj._retn());
}
break;
default:
break;