diff --git a/src/3rdParty/Pivy-0.5/coin_wrap.cpp b/src/3rdParty/Pivy-0.5/coin_wrap.cpp index ee304d61f..2caf28d0f 100644 --- a/src/3rdParty/Pivy-0.5/coin_wrap.cpp +++ b/src/3rdParty/Pivy-0.5/coin_wrap.cpp @@ -244966,7 +244966,7 @@ SWIGINTERN PyObject *_wrap_SoMFPlane_setValues(PyObject *SWIGUNUSEDPARM(self), P SbPlane * plane = NULL; PyObject * item = PyList_GetItem(obj3,i); SWIG_ConvertPtr(item, (void **) &plane, SWIGTYPE_p_SbPlane, 1); - if (time != NULL) { + if (plane != NULL) { arg4[i] = *plane; } }