GPv3: Initial sculpt mode #119338

Merged
Lukas Tönne merged 28 commits from LukasTonne/blender:gp3-sculpt-mode into main 2024-04-11 09:40:00 +02:00
1 changed files with 1 additions and 4 deletions
Showing only changes of commit eacc0b2760 - Show all commits

View File

@ -34,9 +34,6 @@ namespace blender::ed::sculpt_paint {
/** \name Common Paint Operator Functions
* \{ */
case GPAINT_TOOL_TINT:
operation = greasepencil::new_tint_operation().release();
break;
static bool stroke_get_location(bContext * /*C*/,
LukasTonne marked this conversation as resolved Outdated

Looks like a merge mistake here. This case should be moved further down to grease_pencil_brush_stroke_operation.

Looks like a merge mistake here. This case should be moved further down to `grease_pencil_brush_stroke_operation`.

Thanks for the catch.

Thanks for the catch.
float out[3],
const float mouse[2],
@ -124,7 +121,7 @@ static GreasePencilStrokeOperation *grease_pencil_brush_stroke_operation(bContex
case GPAINT_TOOL_FILL:
return nullptr;
case GPAINT_TOOL_TINT:
return nullptr;
return greasepencil::new_tint_operation().release();
}
return nullptr;
}