diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-22 22:59:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-22 22:59:06 +0400 |
commit | ab1600bee50cf2546938dca8837e4c7ba86d78f7 (patch) | |
tree | 1af383a059171b0d75323412e7c00c6886f4e6c6 /source/blender | |
parent | 1a93d8834319b890ff0cbc70231b14635603ae95 (diff) |
error in outliner parent patch - was using set string on an enum property.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_outliner/space_outliner.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |