index-of-nearest-104619 #2

Merged
Iliya Katushenock merged 62 commits from HooglyBoogly/blender:index-of-nearest-104619 into index_of_nearest 2023-04-20 21:19:53 +02:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 6d35e1c238 - Show all commits

View File

@ -907,7 +907,7 @@ static bool gpencil_weightpaint_brush_poll(bContext *C)
} }
ToolSettings *ts = CTX_data_scene(C)->toolsettings; 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"); CTX_wm_operator_poll_msg_set(C, "Grease Pencil has no active paint tool");
return false; return false;
} }

View File

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