Merge branch 'blender-v2.83-release'

This commit is contained in:
Philipp Oeser 2020-05-11 20:59:12 +02:00
commit 9618875b96
1 changed files with 3 additions and 0 deletions

View File

@ -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;