--- a/ProjectController.py Tue Jun 26 17:34:15 2018 +0300
+++ b/ProjectController.py Tue Jun 26 17:46:37 2018 +0300
@@ -194,7 +194,7 @@
<xsd:complexType>
"""+"\n".join(['<xsd:attribute name=' +
'"Enable_' + libname + '_Library" ' +
- 'type="xsd:boolean" use="optional" default="true"/>'
+ 'type="xsd:boolean" use="optional" default="false"/>'
for libname, _lib in features.libraries])+"""
</xsd:complexType>
</xsd:element>""") if len(features.libraries) > 0 else '') + """
@@ -271,7 +271,7 @@
self.Libraries = []
TypeStack = []
for libname, clsname in features.libraries:
- if self.BeremizRoot.Libraries is None or getattr(self.BeremizRoot.Libraries, "Enable_"+libname+"_Library"):
+ if self.BeremizRoot.Libraries is not None and getattr(self.BeremizRoot.Libraries, "Enable_"+libname+"_Library"):
Lib = GetClassImporter(clsname)()(self, libname, TypeStack)
TypeStack.append(Lib.GetTypes())
self.Libraries.append(Lib)