1
1

Fix missing include causing build error & invalid NULL check

This commit is contained in:
2023-04-20 18:26:37 +10:00
parent fe7815e117
commit 6d35e1c238
2 changed files with 2 additions and 1 deletions

View File

@@ -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;
}

View File

@@ -16,6 +16,7 @@
#include "COM_algorithm_smaa.hh"
#include "COM_node_operation.hh"
#include "COM_utilities.hh"
#include "node_composite_util.hh"