[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47011] branches/soc-2011-tomato/source/ blender/blenkernel/intern/mask.c: fix error in prev commit
Campbell Barton
ideasman42 at gmail.com
Fri May 25 13:51:56 CEST 2012
Revision: 47011
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47011
Author: campbellbarton
Date: 2012-05-25 11:51:56 +0000 (Fri, 25 May 2012)
Log Message:
-----------
fix error in prev commit
Modified Paths:
--------------
branches/soc-2011-tomato/source/blender/blenkernel/intern/mask.c
Modified: branches/soc-2011-tomato/source/blender/blenkernel/intern/mask.c
===================================================================
--- branches/soc-2011-tomato/source/blender/blenkernel/intern/mask.c 2012-05-25 11:43:57 UTC (rev 47010)
+++ branches/soc-2011-tomato/source/blender/blenkernel/intern/mask.c 2012-05-25 11:51:56 UTC (rev 47011)
@@ -1348,7 +1348,7 @@
&spline, &spline_point_index))
{
/* sanity check */
- int tot = BKE_mask_object_shape_totvert(maskobj);
+ int tot = BKE_mask_object_shape_totvert(maskobj) - 1;
/* for interpolation */
/* TODO - assumes closed curve for now */
More information about the Bf-blender-cvs
mailing list