Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-01-22 22:59:06 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-22 22:59:06 +0400
commitab1600bee50cf2546938dca8837e4c7ba86d78f7 (patch)
tree1af383a059171b0d75323412e7c00c6886f4e6c6 /source/blender/editors/space_outliner/space_outliner.c
parent1a93d8834319b890ff0cbc70231b14635603ae95 (diff)
error in outliner parent patch - was using set string on an enum property.
Diffstat (limited to 'source/blender/editors/space_outliner/space_outliner.c')
-rw-r--r--source/blender/editors/space_outliner/space_outliner.c6
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 */