diff options
author | Bastien Montagne <bastien@blender.org> | 2020-07-13 15:15:57 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-07-13 15:29:54 +0300 |
commit | 03c8b048a166584a72ceff08432401cd7047648c (patch) | |
tree | afa731d58a6965bd47612cdc4442c0694dfebb17 /source/blender/editors/screen/screen_ops.c | |
parent | 9c9eb03d7840471173964b0f2758e2053bb700b4 (diff) |
Cleanup: remove public unused function.
Diffstat (limited to 'source/blender/editors/screen/screen_ops.c')
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index f32dd0c8703..cd612c35a36 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -349,7 +349,7 @@ bool ED_operator_object_active(bContext *C) return ((ob != NULL) && !ed_object_hidden(ob)); } -bool ED_operator_object_active_editable_ex(bContext *UNUSED(C), const Object *ob) +static bool operator_object_active_editable_ex(const Object *ob) { return ((ob != NULL) && !ID_IS_LINKED(ob) && !ed_object_hidden(ob)); } @@ -357,7 +357,7 @@ bool ED_operator_object_active_editable_ex(bContext *UNUSED(C), const Object *ob bool ED_operator_object_active_editable(bContext *C) { Object *ob = ED_object_active_context(C); - return ED_operator_object_active_editable_ex(C, ob); + return operator_object_active_editable_ex(ob); } bool ED_operator_object_active_editable_mesh(bContext *C) |