Silence warning in greasepencil code

This commit is contained in:
Dalai Felinto
2019-03-12 16:49:12 -03:00
parent 2e1e250676
commit db5ca11d80

View File

@@ -89,7 +89,7 @@
/* Datablock Operators */
/* ******************* Add New Data ************************ */
bool gp_data_add_poll(bContext *C)
static bool gp_data_add_poll(bContext *C)
{
Object *obact = CTX_data_active_object(C);
if (obact && obact->type == OB_GPENCIL) {