error in outliner parent patch - was using set string on an enum property.
authorCampbell Barton <ideasman42@gmail.com>
Sun, 22 Jan 2012 18:59:06 +0000 (18:59 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 22 Jan 2012 18:59:06 +0000 (18:59 +0000)
source/blender/editors/space_outliner/space_outliner.c

index 5b20c17036227bfbd1b90777913a1e122eec5eb7..a040c63b2ab834f03a3115ae429ba00a43158c55 100644 (file)
@@ -139,9 +139,9 @@ static void outliner_parent_clear_copy(wmDrag *drag, wmDropBox *drop)
        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 */