summaryrefslogtreecommitdiff
path: root/CSXCAD/src/CSPrimPolygon.cpp
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2019-02-10 08:49:27 +0000
committerRuben Undheim <ruben.undheim@gmail.com>2019-02-10 08:49:27 +0000
commit94cdcb9013e4862560945c14dbe762daa2baea07 (patch)
tree6e2a3a3dad7a0800109f911c70c100daa6502d22 /CSXCAD/src/CSPrimPolygon.cpp
parentffda26309128be5d112df61a03e4827e47ecfac8 (diff)
Import GIT HEAD of CSXCAD sub-project (with Python interface)
Diffstat (limited to 'CSXCAD/src/CSPrimPolygon.cpp')
-rw-r--r--CSXCAD/src/CSPrimPolygon.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/CSXCAD/src/CSPrimPolygon.cpp b/CSXCAD/src/CSPrimPolygon.cpp
index 733fb0a..523857c 100644
--- a/CSXCAD/src/CSPrimPolygon.cpp
+++ b/CSXCAD/src/CSPrimPolygon.cpp
@@ -214,8 +214,8 @@ bool CSPrimPolygon::Update(std::string *ErrStr)
for (size_t i=1;i<vCoords.size();++i)
{
EC=vCoords[i].Evaluate();
- if (EC!=ParameterScalar::NO_ERROR) bOK=false;
- if ((EC!=ParameterScalar::NO_ERROR) && (ErrStr!=NULL))
+ if (EC!=ParameterScalar::PS_NO_ERROR) bOK=false;
+ if ((EC!=ParameterScalar::PS_NO_ERROR) && (ErrStr!=NULL))
{
bOK=false;
std::stringstream stream;
@@ -226,8 +226,8 @@ bool CSPrimPolygon::Update(std::string *ErrStr)
}
EC=Elevation.Evaluate();
- if (EC!=ParameterScalar::NO_ERROR) bOK=false;
- if ((EC!=ParameterScalar::NO_ERROR) && (ErrStr!=NULL))
+ if (EC!=ParameterScalar::PS_NO_ERROR) bOK=false;
+ if ((EC!=ParameterScalar::PS_NO_ERROR) && (ErrStr!=NULL))
{
bOK=false;
std::stringstream stream;