Sietse Brouwer
6c660eee55
Cleanup: Avoid use of 'goto', call finish function instead
2023-12-21 23:43:19 +01:00
Sietse Brouwer
b9c70723ee
Cleanup: move some tool data fields to local variables, remove sculpt_paint dependency
2023-12-12 12:06:21 +01:00
Sietse Brouwer
9904705336
Merge branch 'main' into gp-weight-paint-gradient-tool
2023-12-12 10:30:01 +01:00
Sietse Brouwer
f89cf47406
Merge branch 'main' into gp-weight-paint-gradient-tool
2023-12-12 08:48:05 +01:00
Sietse Brouwer
878fe6def3
Switch 'weight' and 'strength' properties in toolbar
2023-08-17 21:25:42 +02:00
Sietse Brouwer
c0eb6b5f76
Cleanup: remove redundant typedef variable
2023-08-17 21:22:32 +02:00
Sietse Brouwer
15acf19061
Merge branch 'main' into gp-weight-paint-gradient-tool
2023-08-17 20:11:50 +02:00
Sietse Brouwer
f153ca3c47
Cleanup: fix copyright
2023-08-15 13:00:23 +02:00
Sietse Brouwer
b2f579506f
Cleanup: conversion to C++, merge with main
2023-08-15 12:25:55 +02:00
Sietse Brouwer
a34c9cd534
Merge branch 'main' into gp-weight-paint-gradient-tool
2023-08-15 10:13:16 +02:00
Sietse Brouwer
c6671b7d1c
Merge branch 'main' into gp-weight-paint-gradient-tool
2023-05-07 22:30:31 +02:00
Sietse Brouwer
cd7404db5b
Gpencil: gradient tool added to weight paint tools
...
This patch adds the gradient tool to the weight paint tools in Grease Pencil.
The gradient tool follows the same logic as the weight gradient tool on
3D meshes. The gradient is drawn interactively in the viewport, shown by
a dotted line and the vertex weight colors changing on the fly.
The user can:
- choose between a linear and radial gradient
- switch between adding/subtracting weight with shortcut 'D'
2023-05-07 22:30:16 +02:00