[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43613] trunk/blender/source/blender/ editors/space_outliner/space_outliner.c: error in outliner parent patch - was using set string on an enum property.

Campbell Barton ideasman42 at gmail.com
Sun Jan 22 19:59:18 CET 2012


Revision: 43613
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43613
Author:   campbellbarton
Date:     2012-01-22 18:59:06 +0000 (Sun, 22 Jan 2012)
Log Message:
-----------
error in outliner parent patch - was using set string on an enum property.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_outliner/space_outliner.c

Modified: trunk/blender/source/blender/editors/space_outliner/space_outliner.c
===================================================================
--- trunk/blender/source/blender/editors/space_outliner/space_outliner.c	2012-01-22 18:44:44 UTC (rev 43612)
+++ trunk/blender/source/blender/editors/space_outliner/space_outliner.c	2012-01-22 18:59:06 UTC (rev 43613)
@@ -139,9 +139,9 @@
 	RNA_string_set(drop->ptr, "dragged_obj", id->name+2);
 
 	/* Set to simple parent clear type. Avoid menus for drag and drop if possible.
-	  If desired, user can toggle the different "Clear Parent" types in the operator
-	  menu on tool shelf. */
-	RNA_string_set(drop->ptr, "type", 0);
+	 * If desired, user can toggle the different "Clear Parent" types in the operator
+	 * menu on tool shelf. */
+	RNA_enum_set(drop->ptr, "type", 0);
 }
 
 /* region dropbox definition */



More information about the Bf-blender-cvs mailing list