From ba279efbdb0050c3f5a0a7b35c48f32a21366a98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20T=C3=B6nne?= Date: Sat, 16 Apr 2016 17:27:49 +0200 Subject: Removed the ND_PARTICLE notifier and outliner particle elements. --- source/blender/editors/space_outliner/outliner_select.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'source/blender/editors/space_outliner/outliner_select.c') diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c index 84f8c629c5d..cda9de92a82 100644 --- a/source/blender/editors/space_outliner/outliner_select.c +++ b/source/blender/editors/space_outliner/outliner_select.c @@ -664,20 +664,6 @@ static eOLDrawState tree_element_active_modifier( return OL_DRAWSEL_NONE; } -static eOLDrawState tree_element_active_psys( - bContext *C, Scene *UNUSED(scene), TreeElement *UNUSED(te), TreeStoreElem *tselem, const eOLSetState set) -{ - if (set != OL_SETSEL_NONE) { - Object *ob = (Object *)tselem->id; - - WM_event_add_notifier(C, NC_OBJECT | ND_PARTICLE | NA_EDITED, ob); - -// XXX extern_set_butspace(F7KEY, 0); - } - - return OL_DRAWSEL_NONE; -} - static int tree_element_active_constraint( bContext *C, TreeElement *UNUSED(te), TreeStoreElem *tselem, const eOLSetState set) { @@ -856,8 +842,6 @@ eOLDrawState tree_element_type_active( return OL_DRAWSEL_NORMAL; } break; - case TSE_LINKED_PSYS: - return tree_element_active_psys(C, scene, te, tselem, set); case TSE_POSE_BASE: return tree_element_active_pose(C, scene, te, tselem, set); case TSE_POSE_CHANNEL: -- cgit v1.2.3