summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libnurbs/internals/knotvector.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libnurbs/internals/knotvector.cc b/src/libnurbs/internals/knotvector.cc
index 9eb5cba..dcbf006 100644
--- a/src/libnurbs/internals/knotvector.cc
+++ b/src/libnurbs/internals/knotvector.cc
@@ -61,6 +61,9 @@ void Knotvector::init( long _knotcount, long _stride, long _order, INREAL *_knot
Knotvector::Knotvector( void )
{
+ knotcount = 0;
+ stride = 0;
+ order = 0;
knotlist = 0;
}