[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33253] trunk/blender/source/blender/ makesrna/intern/rna_actuator.c: fix [#24870] ObjectActuator. offset_rotation in radians

Campbell Barton ideasman42 at gmail.com
Tue Nov 23 13:23:19 CET 2010


Revision: 33253
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33253
Author:   campbellbarton
Date:     2010-11-23 13:23:19 +0100 (Tue, 23 Nov 2010)

Log Message:
-----------
fix [#24870] ObjectActuator.offset_rotation in radians

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_actuator.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_actuator.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_actuator.c	2010-11-23 12:05:35 UTC (rev 33252)
+++ trunk/blender/source/blender/makesrna/intern/rna_actuator.c	2010-11-23 12:23:19 UTC (rev 33253)
@@ -669,7 +669,7 @@
 	RNA_def_property_ui_text(prop, "Loc", "Sets the location");
 	RNA_def_property_update(prop, NC_LOGIC, NULL);
 
-	prop= RNA_def_property(srna, "offset_rotation", PROP_FLOAT, PROP_XYZ);
+	prop= RNA_def_property(srna, "offset_rotation", PROP_FLOAT, PROP_EULER);
 	RNA_def_property_float_sdna(prop, NULL, "drot");
 	RNA_def_property_array(prop, 3);
 	RNA_def_property_ui_range(prop, -10000.0, 10000.0, 10, 2);





More information about the Bf-blender-cvs mailing list