Deleting all the verticies from a Curve Gradient used to cause a crash. This stops...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 23 Mar 2007 15:46:54 +0000 (15:46 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 23 Mar 2007 15:46:54 +0000 (15:46 +0000)
commit0a4abd7cb1c8b8010a16bbe78befadb9f5960ae1
treed00fd6a5b188716babac2ac2a087f683729ff95a
parent10f18145d6dfe8bd59964e109d4f386dbb5e1550
Deleting all the verticies from a Curve Gradient used to cause a crash.  This stops the crash.  Perhaps a better fix would be to prevent the user ever deleting the last vertex in any bline, but maybe zero-length blines serve some purpose.

git-svn-id: http://svn.voria.com/code@372 1f10aa63-cdf2-0310-b900-c93c546f37ac
synfig-core/trunk/src/modules/mod_gradient/curvegradient.cpp