From fc5944a5f80861a447c7f3d88457c94b6800b094 Mon Sep 17 00:00:00 2001 From: gdd Date: Wed, 11 Jan 2012 13:03:07 +0000 Subject: [PATCH] BLSURF support submeshes (but it still cannot be used as a submesh). --- resources/BLSURFPlugin.xml | 3 ++- src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/BLSURFPlugin.xml b/resources/BLSURFPlugin.xml index bc765c7..e69c3bf 100644 --- a/resources/BLSURFPlugin.xml +++ b/resources/BLSURFPlugin.xml @@ -41,7 +41,8 @@ icon-id="mesh_algo_BLSURF.png" opt-hypos="BLSURF_Parameters" output="TRIA,QUAD" - dim="2"/> + dim="2" + support-submeshes="true"/> diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 1bb9ecf..2c7c6c2 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -246,6 +246,7 @@ BLSURFPlugin_BLSURF::BLSURFPlugin_BLSURF(int hypId, int studyId, _requireDescretBoundary = false; _onlyUnaryInput = false; _hypothesis = NULL; + _supportSubmeshes = true; smeshGen_i = SMESH_Gen_i::GetSMESHGen(); CORBA::Object_var anObject = smeshGen_i->GetNS()->Resolve("/myStudyManager"); -- 2.39.2