summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2017-10-17 13:43:46 +0200
committerDavid Tardon <dtardon@redhat.com>2017-10-17 13:43:46 +0200
commitdc81ff725f10744ee9455a55b3c627bc02b78ab1 (patch)
treeaf78f4fa9e61e7a47de420d1216f35dfd12647da
parentc32345e7eb1890d9f52f3dc02acc0952dd81e53f (diff)
ofz#3646 limit the max. degree of NURBS even more
Change-Id: I4b48e78aca4953d60d5a2a5fab7869c0a292cc21
-rw-r--r--src/lib/VSDContentCollector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/VSDContentCollector.cpp b/src/lib/VSDContentCollector.cpp
index c36b2a9..bfbba28 100644
--- a/src/lib/VSDContentCollector.cpp
+++ b/src/lib/VSDContentCollector.cpp
@@ -2111,7 +2111,7 @@ bool libvisio::VSDContentCollector::_isUniform(const std::vector<double> &weight
return true;
}
-#define MAX_ALLOWED_NURBS_DEGREE 16
+#define MAX_ALLOWED_NURBS_DEGREE 8
void libvisio::VSDContentCollector::collectNURBSTo(unsigned /* id */, unsigned level, double x2, double y2,
unsigned char xType, unsigned char yType, unsigned degree, const std::vector<std::pair<double, double> > &ctrlPnts,