Refactor: Remove trim variables from SculptSession
commitf7d5ec8661cac87553c9aa199b38d65a8052d666
authorSean Kim <SeanCTKim@protonmail.com>
Thu, 11 Apr 2024 18:55:11 +0000 (11 20:55 +0200)
committerHans Goudey <hooglyboogly@noreply.localhost>
Thu, 11 Apr 2024 18:55:11 +0000 (11 20:55 +0200)
treea5e1e63fdaf822846002327f0eafe53f69c1ac64
parent8b9743eb407fb1a5c09041b9ca39cf59cc3ce6b3
Refactor: Remove trim variables from SculptSession

This PR moves the three sculpt trim gesture variables from
`SculptSession` into the `TrimOperation` `struct` to reduce
the size of the former and make it less likely that the data
is depended on in other operators.

Pull Request: https://projects.blender.org/blender/blender/pulls/120504
source/blender/blenkernel/BKE_paint.hh
source/blender/editors/sculpt_paint/sculpt_trim.cc