[Bf-blender-cvs] [db5ca11d802] master: Silence warning in greasepencil code
Dalai Felinto
noreply at git.blender.org
Tue Mar 12 20:49:30 CET 2019
Commit: db5ca11d802ef987c34fd24f14db1b1427f5898e
Author: Dalai Felinto
Date: Tue Mar 12 16:49:12 2019 -0300
Branches: master
https://developer.blender.org/rBdb5ca11d802ef987c34fd24f14db1b1427f5898e
Silence warning in greasepencil code
===================================================================
M source/blender/editors/gpencil/gpencil_data.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c
index 02473329f03..2cdd772f726 100644
--- a/source/blender/editors/gpencil/gpencil_data.c
+++ b/source/blender/editors/gpencil/gpencil_data.c
@@ -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) {
More information about the Bf-blender-cvs
mailing list