From 4a78d582baac2d9d8bb21d9e7e6124653ebf5214 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 7 Mar 2012 15:11:06 +0000 Subject: [PATCH] 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module Add elements used in SMESH_2smeshpy --- src/SMESHGUI/SMESHGUI_XmlHandler.cxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/SMESHGUI/SMESHGUI_XmlHandler.cxx b/src/SMESHGUI/SMESHGUI_XmlHandler.cxx index 6c8481433..69b68ddbe 100644 --- a/src/SMESHGUI/SMESHGUI_XmlHandler.cxx +++ b/src/SMESHGUI/SMESHGUI_XmlHandler.cxx @@ -191,6 +191,13 @@ bool SMESHGUI_XmlHandler::startElement (const QString&, const QString&, } } } + else if ( qName == "python-wrap" || + qName == "algo" || + qName == "hypo" ) + { + // elements used in SMESH_2smeshpy + return true; + } else { // error -- 2.39.2