From ab1600bee50cf2546938dca8837e4c7ba86d78f7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 22 Jan 2012 18:59:06 +0000 Subject: error in outliner parent patch - was using set string on an enum property. --- source/blender/editors/space_outliner/space_outliner.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/editors/space_outliner/space_outliner.c') diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c index 5b20c170362..a040c63b2ab 100644 --- a/source/blender/editors/space_outliner/space_outliner.c +++ b/source/blender/editors/space_outliner/space_outliner.c @@ -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 */ -- cgit v1.2.3