Quantity_Color aColor = CurveCreator_Utils::getRandColor();
QColor aQColor = CurveCreator_Utils::colorConv(aColor);
- myEditedObject->getSectionColor(i-1, aQColor);
+ myEditedObject->GetSectionColor(i-1, aQColor);
myCurve->addSectionInternal( aSectName.toStdString(),
aCurveType, aSectClosure, aCurveCoords, CurveCreator_Utils::colorConv(aQColor) );
aPolylineObj->AddSection( aSectName, aSectType, aSectClosure );
Quantity_Color aColor = myCurve->getColorSection(i);
- aPolylineObj->setSectionColor(i, CurveCreator_Utils::colorConv(aColor));
+ aPolylineObj->SetSectionColor(i, CurveCreator_Utils::colorConv(aColor));
// Add the points from section
CurveCreator::Coordinates aCurveCoords = myCurve->getCoords( i );
}
}
- if ( !myIsEdit )
- {
- aPolylineObj->SetWireColor( HYDROData_PolylineXY::DefaultWireColor() );
- }
+ //if ( !myIsEdit )
+ //{
+ // aPolylineObj->SetWireColor( HYDROData_PolylineXY::DefaultWireColor() );
+ //}
// Update the wire of polyline
aPolylineObj->Update();