diff options
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_context.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c index c42e2531f25..1699e704a4d 100644 --- a/source/blender/editors/space_buttons/buttons_context.c +++ b/source/blender/editors/space_buttons/buttons_context.c @@ -981,17 +981,6 @@ int /*eContextResult*/ buttons_context(const bContext *C, return CTX_RESULT_OK; } - if (CTX_data_equals(member, "modifier")) { - PointerRNA *ptr = get_pointer_type(path, &RNA_Modifier); - - if (ptr != NULL && !RNA_pointer_is_null(ptr)) { - Object *ob = (Object *)ptr->owner_id; - ModifierData *md = ptr->data; - CTX_data_pointer_set(result, &ob->id, &RNA_Modifier, md); - return CTX_RESULT_OK; - } - return CTX_RESULT_NO_DATA; - } if (CTX_data_equals(member, "texture_user")) { ButsContextTexture *ct = sbuts->texuser; |