Fix #23742: a NURBS surface created with two joined curves crashes Blender on rendering
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 10 Sep 2010 06:05:18 +0000 (06:05 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 10 Sep 2010 06:05:18 +0000 (06:05 +0000)
commit46f0fbcf0aee50d978562158653a32d6d95b69fd
treec65183fcf566997e5ddf794d83e418c903220a78
parentcf4e32a06c84bdc3e735e4fccb693a400a8e4cbe
Fix #23742: a NURBS surface created with two joined curves crashes Blender on rendering

Nurb's material number used to be clamped to [0;-1] for case object hasn't got
materials. Forced to keep material number on zero if object hasn't got any materials.
source/blender/editors/curve/editcurve.c