[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47322] branches/soc-2011-tomato/source/ blender/blenkernel/intern/mask.c: Style cleanup of own recent changes
Sergey Sharybin
sergey.vfx at gmail.com
Fri Jun 1 15:46:39 CEST 2012
Revision: 47322
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47322
Author: nazgul
Date: 2012-06-01 13:46:38 +0000 (Fri, 01 Jun 2012)
Log Message:
-----------
Style cleanup of own recent changes
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-06-01 13:42:18 UTC (rev 47321)
+++ branches/soc-2011-tomato/source/blender/blenkernel/intern/mask.c 2012-06-01 13:46:38 UTC (rev 47322)
@@ -223,7 +223,8 @@
return resol;
}
-float (*BKE_mask_spline_differentiate_with_resolution(MaskSpline *spline, int width, int height, int *tot_diff_point))[2]
+float (*BKE_mask_spline_differentiate_with_resolution(MaskSpline *spline, int width, int height,
+ int *tot_diff_point))[2]
{
MaskSplinePoint *points_array = BKE_mask_spline_point_array(spline);
@@ -464,7 +465,8 @@
return BKE_mask_point_segment_feather_diff_with_resolution(spline, point, 0, 0, tot_feather_point);
}
-float *BKE_mask_point_segment_diff_with_resolution(MaskSpline *spline, MaskSplinePoint *point, int width, int height, int *tot_diff_point)
+float *BKE_mask_point_segment_diff_with_resolution(MaskSpline *spline, MaskSplinePoint *point,
+ int width, int height, int *tot_diff_point)
{
MaskSplinePoint *points_array = BKE_mask_spline_point_array_from_point(spline, point);
@@ -1197,7 +1199,7 @@
void BKE_mask_spline_ensure_deform(MaskSpline *spline)
{
int allocated_points = (MEM_allocN_len(spline->points_deform) / sizeof(*spline->points_deform));
-// printf("SPLINE ALLOC %p %d\n", spline->points_deform, (int)(MEM_allocN_len(spline->points_deform) / sizeof(*spline->points_deform)));
+ // printf("SPLINE ALLOC %p %d\n", spline->points_deform, allocated_points);
if (spline->points_deform == NULL || allocated_points != spline->tot_point) {
printf("alloc new deform spline\n");
More information about the Bf-blender-cvs
mailing list