From: gdd Date: Fri, 17 Feb 2012 14:30:33 +0000 (+0000) Subject: Replace Descret by Discrete in variable and method names. X-Git-Tag: V6_5_0a1~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=620c59f749e7268e11b2bf78e81858bd038cfb66;p=plugins%2Fblsurfplugin.git Replace Descret by Discrete in variable and method names. --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 2c7c6c2..dc08519 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -242,8 +242,8 @@ BLSURFPlugin_BLSURF::BLSURFPlugin_BLSURF(int hypId, int studyId, _name = "BLSURF"; _shapeType = (1 << TopAbs_FACE); // 1 bit /shape type - _compatibleHypothesis.push_back("BLSURF_Parameters"); - _requireDescretBoundary = false; + _compatibleHypothesis.push_back(BLSURFPlugin_Hypothesis::GetHypType()); + _requireDiscreteBoundary = false; _onlyUnaryInput = false; _hypothesis = NULL; _supportSubmeshes = true; diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx index 8ec9d37..79f7a23 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx @@ -62,6 +62,8 @@ public: DefaultGeom, UserDefined }; + + static const char* GetHypType() { return "BLSURF_Parameters"; } TopoDS_Shape entryToShape(std::string entry);