GPencil: Fix error in previous commit
authorAntonioya <blendergit@gmail.com>
Thu, 28 Mar 2019 16:17:04 +0000 (17:17 +0100)
committerAntonioya <blendergit@gmail.com>
Thu, 28 Mar 2019 16:17:04 +0000 (17:17 +0100)
source/blender/editors/gpencil/gpencil_fill.c

index 5966684d30ca3fbf7dbd7f9f1ba2f5e14e47c860..17cb21d62bd7fc971a999b8dc55692f70a248586 100644 (file)
@@ -1170,7 +1170,7 @@ static bool gpencil_fill_poll(bContext *C)
        }
        else {
                CTX_wm_operator_poll_msg_set(C, "Active region not set");
-               return true;
+               return false;
        }
 }