From 20b3f034d45970ce216b5962007da63ed66cb49f Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 19 Jul 2018 16:47:20 +0300 Subject: [PATCH] Fixed issue #866. Valentina produces an invalid pattern file if a user defines more than 9 materials. --HG-- branch : develop --- src/libs/ifc/schema/pattern/v0.6.4.xsd | 2 +- src/libs/ifc/schema/pattern/v0.6.5.xsd | 2 +- src/libs/ifc/schema/pattern/v0.6.6.xsd | 2 +- src/libs/ifc/schema/pattern/v0.7.0.xsd | 2 +- src/libs/ifc/schema/pattern/v0.7.1.xsd | 2 +- src/libs/ifc/schema/pattern/v0.7.2.xsd | 2 +- src/libs/ifc/schema/pattern/v0.7.3.xsd | 2 +- src/libs/ifc/schema/pattern/v0.7.4.xsd | 2 +- src/libs/ifc/schema/pattern/v0.7.5.xsd | 2 +- src/libs/ifc/schema/pattern/v0.7.6.xsd | 2 +- src/libs/ifc/schema/pattern/v0.7.7.xsd | 2 +- src/libs/ifc/schema/pattern/v0.7.8.xsd | 2 +- src/libs/vmisc/def.h | 1 + 13 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/libs/ifc/schema/pattern/v0.6.4.xsd b/src/libs/ifc/schema/pattern/v0.6.4.xsd index eb7e68204..3344b8e07 100644 --- a/src/libs/ifc/schema/pattern/v0.6.4.xsd +++ b/src/libs/ifc/schema/pattern/v0.6.4.xsd @@ -112,7 +112,7 @@ - + diff --git a/src/libs/ifc/schema/pattern/v0.6.5.xsd b/src/libs/ifc/schema/pattern/v0.6.5.xsd index f2cb06a34..115f906aa 100644 --- a/src/libs/ifc/schema/pattern/v0.6.5.xsd +++ b/src/libs/ifc/schema/pattern/v0.6.5.xsd @@ -112,7 +112,7 @@ - + diff --git a/src/libs/ifc/schema/pattern/v0.6.6.xsd b/src/libs/ifc/schema/pattern/v0.6.6.xsd index 23fa8fa77..1f23ee3c6 100644 --- a/src/libs/ifc/schema/pattern/v0.6.6.xsd +++ b/src/libs/ifc/schema/pattern/v0.6.6.xsd @@ -112,7 +112,7 @@ - + diff --git a/src/libs/ifc/schema/pattern/v0.7.0.xsd b/src/libs/ifc/schema/pattern/v0.7.0.xsd index fe659e649..f323af518 100644 --- a/src/libs/ifc/schema/pattern/v0.7.0.xsd +++ b/src/libs/ifc/schema/pattern/v0.7.0.xsd @@ -112,7 +112,7 @@ - + diff --git a/src/libs/ifc/schema/pattern/v0.7.1.xsd b/src/libs/ifc/schema/pattern/v0.7.1.xsd index 89ec4391c..66e1b2915 100644 --- a/src/libs/ifc/schema/pattern/v0.7.1.xsd +++ b/src/libs/ifc/schema/pattern/v0.7.1.xsd @@ -112,7 +112,7 @@ - + diff --git a/src/libs/ifc/schema/pattern/v0.7.2.xsd b/src/libs/ifc/schema/pattern/v0.7.2.xsd index b8bc4eb84..5a94ba3f8 100644 --- a/src/libs/ifc/schema/pattern/v0.7.2.xsd +++ b/src/libs/ifc/schema/pattern/v0.7.2.xsd @@ -112,7 +112,7 @@ - + diff --git a/src/libs/ifc/schema/pattern/v0.7.3.xsd b/src/libs/ifc/schema/pattern/v0.7.3.xsd index 5344e5721..f26ec6bd4 100644 --- a/src/libs/ifc/schema/pattern/v0.7.3.xsd +++ b/src/libs/ifc/schema/pattern/v0.7.3.xsd @@ -112,7 +112,7 @@ - + diff --git a/src/libs/ifc/schema/pattern/v0.7.4.xsd b/src/libs/ifc/schema/pattern/v0.7.4.xsd index a49b1fea8..d5f6f78c2 100644 --- a/src/libs/ifc/schema/pattern/v0.7.4.xsd +++ b/src/libs/ifc/schema/pattern/v0.7.4.xsd @@ -112,7 +112,7 @@ - + diff --git a/src/libs/ifc/schema/pattern/v0.7.5.xsd b/src/libs/ifc/schema/pattern/v0.7.5.xsd index 3627aa6de..35d4bbd22 100644 --- a/src/libs/ifc/schema/pattern/v0.7.5.xsd +++ b/src/libs/ifc/schema/pattern/v0.7.5.xsd @@ -112,7 +112,7 @@ - + diff --git a/src/libs/ifc/schema/pattern/v0.7.6.xsd b/src/libs/ifc/schema/pattern/v0.7.6.xsd index df1df950e..3b7848d76 100644 --- a/src/libs/ifc/schema/pattern/v0.7.6.xsd +++ b/src/libs/ifc/schema/pattern/v0.7.6.xsd @@ -112,7 +112,7 @@ - + diff --git a/src/libs/ifc/schema/pattern/v0.7.7.xsd b/src/libs/ifc/schema/pattern/v0.7.7.xsd index 7d8cf8c75..671f81c8c 100644 --- a/src/libs/ifc/schema/pattern/v0.7.7.xsd +++ b/src/libs/ifc/schema/pattern/v0.7.7.xsd @@ -112,7 +112,7 @@ - + diff --git a/src/libs/ifc/schema/pattern/v0.7.8.xsd b/src/libs/ifc/schema/pattern/v0.7.8.xsd index 5c9c40c4a..e26d9db5e 100644 --- a/src/libs/ifc/schema/pattern/v0.7.8.xsd +++ b/src/libs/ifc/schema/pattern/v0.7.8.xsd @@ -112,7 +112,7 @@ - + diff --git a/src/libs/vmisc/def.h b/src/libs/vmisc/def.h index de776aa89..1af1a667f 100644 --- a/src/libs/vmisc/def.h +++ b/src/libs/vmisc/def.h @@ -390,6 +390,7 @@ extern const QString pl_mInterlining; extern const QString pl_wCut; extern const QString pl_wOnFold; +// Don't forget to syncronize with XSD schema. const int userMaterialPlaceholdersQuantity = 20; extern const QStringList labelTemplatePlaceholders;