Outliner Drag & Drop fixes
authorDan Eicher <dan@eu.phorio.us>
Tue, 29 May 2012 18:12:13 +0000 (18:12 +0000)
committerDan Eicher <dan@eu.phorio.us>
Tue, 29 May 2012 18:12:13 +0000 (18:12 +0000)
commit52aad984b6634f009ebc9fecf33bca786036a834
tree0ffa9681ee3b268620578dde2710bc507d399681
parent2aa3b5a24eaaeaeef671eb8f778d6fdaf21ea28d
Outliner Drag & Drop fixes

OUTLINER_OT_parent_drop
 * use scene of child instead of active scene
 * poll to check if parent and child are in same scene

OUTLINER_OT_parent_clear
 * get scene from child instead of only working on active scene
 * poll to check if no parent

OUTLINER_OT_scene_drop && OBJECT_OT_make_links_scene
 * memory leak on error
 * would only link some objects on error
source/blender/editors/include/ED_object.h
source/blender/editors/object/object_relations.c
source/blender/editors/space_outliner/outliner_edit.c
source/blender/editors/space_outliner/space_outliner.c