diff options
author | Jacques Lucke <jacques@blender.org> | 2022-02-21 13:52:46 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-02-21 13:52:46 +0300 |
commit | 141d5851d7d240dbe96854553c7a2c076a1b68bd (patch) | |
tree | 5be034d7e8dd01091b23d7704ff4c3bf4b54ef4c /source/blender/editors/curves | |
parent | 5be74160c06a51fa61dce6293ddbd538562e766b (diff) |
Paint: decouple op->customdata from PaintStroke
Previously, all operators using `PaintStroke` would have to store
the stroke in `op->customdata`. That made it impossible to store
other operator specific data in `op->customdata` that was unrelated
to the stroke.
This patch changes it so that the `PaintStroke` is passed to api
functions as a separate argument, which allows storing the stroke
as a subfield of some other struct in `op->customdata`.
Diffstat (limited to 'source/blender/editors/curves')
0 files changed, 0 insertions, 0 deletions