[Bf-blender-cvs] [44408d65393] greasepencil-object: Add warning for Fill operator not implemented yet

Antonio Vazquez noreply at git.blender.org
Wed Dec 20 17:47:50 CET 2017


Commit: 44408d65393b2c95377f3d4ca97589f2fe1c59ab
Author: Antonio Vazquez
Date:   Wed Dec 20 17:47:44 2017 +0100
Branches: greasepencil-object
https://developer.blender.org/rB44408d65393b2c95377f3d4ca97589f2fe1c59ab

Add warning for Fill operator not implemented yet

===================================================================

M	source/blender/editors/gpencil/gpencil_fill.c

===================================================================

diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c
index b62b2ec12d7..3c886a8f99e 100644
--- a/source/blender/editors/gpencil/gpencil_fill.c
+++ b/source/blender/editors/gpencil/gpencil_fill.c
@@ -44,6 +44,7 @@
 #include "BKE_context.h"
 #include "BKE_screen.h"
 #include "BKE_paint.h" 
+#include "BKE_report.h" 
 
 #include "ED_gpencil.h"
 #include "ED_screen.h"
@@ -274,6 +275,8 @@ static int gpencil_fill_init(bContext *C, wmOperator *op)
 /* start of interactive part of operator */
 static int gpencil_fill_invoke(bContext *C, wmOperator *op, const wmEvent *event)
 {
+	BKE_report(op->reports, RPT_WARNING, "This operator is not implemented yet");
+
 	tGPDfill *tgpf = NULL;
 
 	/* try to initialize context data needed */



More information about the Bf-blender-cvs mailing list