diff options
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_uv.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_uv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_uv.c b/source/blender/editors/gpencil/gpencil_uv.c index 114d916d1e2..2238d768bcd 100644 --- a/source/blender/editors/gpencil/gpencil_uv.c +++ b/source/blender/editors/gpencil/gpencil_uv.c @@ -377,6 +377,9 @@ static int gpencil_transform_fill_exec(bContext *C, wmOperator *op) static bool gpencil_transform_fill_poll(bContext *C) { + if (!ED_operator_view3d_active(C)) { + return false; + } Object *ob = CTX_data_active_object(C); if ((ob == NULL) || (ob->type != OB_GPENCIL)) { return false; |