Cleanup: warnings
This commit is contained in:
parent
33a4a6dd66
commit
3f43f57731
|
@ -867,7 +867,7 @@ void ED_node_socket_draw(bNodeSocket *sock, const rcti *rect, const float color[
|
|||
|
||||
/* ************** Socket callbacks *********** */
|
||||
|
||||
static void node_draw_preview_background(float tile, rctf *rect)
|
||||
static void node_draw_preview_background(rctf *rect)
|
||||
{
|
||||
GPUVertFormat *format = immVertexFormat();
|
||||
uint pos = GPU_vertformat_attr_add(format, "pos", GPU_COMP_F32, 2, GPU_FETCH_FLOAT);
|
||||
|
@ -909,7 +909,7 @@ static void node_draw_preview(bNodePreview *preview, rctf *prv)
|
|||
scale = yscale;
|
||||
}
|
||||
|
||||
node_draw_preview_background(BLI_rctf_size_x(prv) / 10.0f, &draw_rect);
|
||||
node_draw_preview_background(&draw_rect);
|
||||
|
||||
GPU_blend(GPU_BLEND_ALPHA);
|
||||
/* premul graphics */
|
||||
|
|
|
@ -45,6 +45,7 @@ static const EnumPropertyItem prop_direction_items[] = {
|
|||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
#ifdef RNA_RUNTIME
|
||||
static const EnumPropertyItem prop_smooth_direction_items[] = {
|
||||
{0, "SMOOTH", ICON_ADD, "Smooth", "Smooth the surfae"},
|
||||
{BRUSH_DIR_IN,
|
||||
|
@ -54,6 +55,7 @@ static const EnumPropertyItem prop_smooth_direction_items[] = {
|
|||
"Enhance the surface detail"},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
#endif
|
||||
|
||||
static const EnumPropertyItem sculpt_stroke_method_items[] = {
|
||||
{0, "DOTS", 0, "Dots", "Apply paint on each mouse move step"},
|
||||
|
|
Loading…
Reference in New Issue