forked from blender/blender
index-of-nearest-104619 #2
@ -907,7 +907,7 @@ static bool gpencil_weightpaint_brush_poll(bContext *C)
|
||||
}
|
||||
|
||||
ToolSettings *ts = CTX_data_scene(C)->toolsettings;
|
||||
if (!&ts->gp_weightpaint->paint.brush) {
|
||||
if (!ts->gp_weightpaint->paint.brush) {
|
||||
CTX_wm_operator_poll_msg_set(C, "Grease Pencil has no active paint tool");
|
||||
return false;
|
||||
}
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
#include "COM_algorithm_smaa.hh"
|
||||
#include "COM_node_operation.hh"
|
||||
#include "COM_utilities.hh"
|
||||
|
||||
#include "node_composite_util.hh"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user