[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41513] trunk/blender/source/blender: missing "; " was breaking compilation ; )

Bastien Montagne montagne29 at wanadoo.fr
Fri Nov 4 09:24:09 CET 2011


Revision: 41513
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41513
Author:   mont29
Date:     2011-11-04 08:24:08 +0000 (Fri, 04 Nov 2011)
Log Message:
-----------
missing ";" was breaking compilation ;)

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_object.c
    trunk/blender/source/blender/nodes/composite/nodes/node_composite_rotate.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_object.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_object.c	2011-11-04 08:08:47 UTC (rev 41512)
+++ trunk/blender/source/blender/makesrna/intern/rna_object.c	2011-11-04 08:24:08 UTC (rev 41513)
@@ -2226,7 +2226,7 @@
 
 	prop= RNA_def_property(srna, "use_dupli_frames_speed", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_negative_sdna(prop, NULL, "transflag", OB_DUPLINOSPEED);
-	RNA_def_property_ui_text(prop, "Dupli Frames Speed", "Set dupliframes to use the current frame instead of parent curve's evaluation time")
+	RNA_def_property_ui_text(prop, "Dupli Frames Speed", "Set dupliframes to use the current frame instead of parent curve's evaluation time");
 	RNA_def_property_update(prop, NC_OBJECT|ND_DRAW, "rna_Object_internal_update");
 
 	prop= RNA_def_property(srna, "use_dupli_vertices_rotation", PROP_BOOLEAN, PROP_NONE);

Modified: trunk/blender/source/blender/nodes/composite/nodes/node_composite_rotate.c
===================================================================
--- trunk/blender/source/blender/nodes/composite/nodes/node_composite_rotate.c	2011-11-04 08:08:47 UTC (rev 41512)
+++ trunk/blender/source/blender/nodes/composite/nodes/node_composite_rotate.c	2011-11-04 08:24:08 UTC (rev 41513)
@@ -58,7 +58,7 @@
 		int x, y, yo, xo;
 		ImBuf *ibuf, *obuf;
 
-		rad= (M_PI*in[1]->vec[0])/180.0f;
+		rad= in[1]->vec[0]; /*(M_PI*in[1]->vec[0])/180.0f;*/ /* Angle values are now always in radians. */
 
 		s= sin(rad);
 		c= cos(rad);




More information about the Bf-blender-cvs mailing list