Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2019-03-12 22:49:12 +0300
committerDalai Felinto <dfelinto@gmail.com>2019-03-12 22:49:12 +0300
commitdb5ca11d802ef987c34fd24f14db1b1427f5898e (patch)
treee285eac2c524eba35a13e5594a5010d72c6fa7cc /source/blender/editors/gpencil/gpencil_data.c
parent2e1e25067664a125928922733bbe9f96e896f01b (diff)
Silence warning in greasepencil code
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_data.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_data.c2
1 files changed, 1 insertions, 1 deletions
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) {