return !isNull && aNbPoints == 0;
}
+bool HYDROData_PolylineXY::GetIsInCustomFlag() const
+{
+ return myIsInCustomFlag;
+}
+
+void HYDROData_PolylineXY::SetIsInCustomFlag( bool theValue )
+{
+ myIsInCustomFlag = theValue;
+}
+
void HYDROData_PolylineXY::Interpolate()
{
ImportShape( GetShape(), true );
HYDRODATA_EXPORT static QColor DefaultWireColor();
HYDRODATA_EXPORT bool IsCustom() const;
+ HYDRODATA_EXPORT bool GetIsInCustomFlag() const;
+ HYDRODATA_EXPORT void SetIsInCustomFlag( bool theValue );
public:
NCollection_Sequence<TCollection_AsciiString> aSectNames;
NCollection_Sequence<HYDROData_PolylineXY::SectionType> aSectTypes;
NCollection_Sequence<bool> aSectClosures;
+ bool aIsInCustom = myEditedObject->GetIsInCustomFlag();
+ myEditedObject->SetIsInCustomFlag( true );
myEditedObject->GetSections( aSectNames, aSectTypes, aSectClosures );
+ myEditedObject->SetIsInCustomFlag( aIsInCustom );
if (!aSectNames.IsEmpty())
{