From 951067014011e1b934077416ae95fb5fe44ae824 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Wed, 11 Sep 2019 15:10:21 +0200 Subject: [PATCH] Fix number of parameters in EllipticCone --- libsrc/csg/algprim.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/csg/algprim.cpp b/libsrc/csg/algprim.cpp index f72574d0..e43b0022 100644 --- a/libsrc/csg/algprim.cpp +++ b/libsrc/csg/algprim.cpp @@ -1540,7 +1540,7 @@ Primitive * EllipticCone :: CreateDefault () void EllipticCone :: GetPrimitiveData (const char *& classname, NgArray & coeffs) const { classname = "ellipticcone"; - coeffs.SetSize (15); + coeffs.SetSize (11); coeffs.Elem(1) = a(0); coeffs.Elem(2) = a(1); coeffs.Elem(3) = a(2);