- https://www.afonde.com/
-
Research Engineer at the animation studio Les Fées Spéciales. Occasional contributor to Grease Pencil.
- Joined on
2022-01-17
Block a user
2ac9ac6477
Micro change : adding a dot in a comment.
f4731f0260
Add some comments
bce7a1039d
Renamed output arguments in functions
d1f89daaa5
Refactor: Separate function for checking if a point is inside the eraser
58a4e4ee98
Changed the destination parameters, now using a pair of int, float instead of a plain float
b5341db958
Micro change : adding a dot in a comment.
23ed8577ee
Add some comments
558f31f9fe
Renamed output arguments in functions
876b602a0c
Refactor: Separate function for checking if a point is inside the eraser
GPv3: Stroke Simplify operator
const VArray<bool> selection = *curves.attributes().lookup_or_default<bool>( ".selection", ATTR_DOMAIN_POINT, true);
GPv3: Stroke Simplify operator
const Vector<IndexRange> selection_ranges = array_utils::find_all_ranges(curve_selection, true);
432cf9f5b3
Changed the destination parameters, now using a pair of int, float instead of a plain float
5639c7e440
Setting the soft eraser first because it is the default value for the eraser mode
7c8ebf665c
Put interpolate attributes back in the main function, bc it would need to many recomputations
GPv3: Hard Eraser tool
Hi @HooglyBoogly :) Thanks for your instructive review !
I think I addressed all your comments and suggestions. I tried refactoring some parts of the main function so that it's more readable.…
2206b69828
Switch eraser operation by eraser mode
8be9fa76f7
Refactor : separate interpolate points attributes in its own function
e333eaaacd
Refactor : separate compute points inside in its own function
225c75d42a
Refactor : separate compute intersections in its own function
3231bb04ba
Refactor : hard eraser as a separate function
3faf281b51
Switch eraser operation by eraser mode
96a5580a1d
Refactor : separate interpolate points attributes in its own function
ba56b5be3b
Refactor : separate compute points inside in its own function
cb5b103beb
Refactor : separate compute intersections in its own function
bfa5e8fa62
Refactor : hard eraser as a separate function
GPv3: Hard Eraser tool
I finally decided to make it a class function member, with mouse position and radius as class attributes.
028417489a
Function renaming
9b474b094e
Convert the function that computes the intersections a class member
de8930e68a
Minor cleanup
8738444a46
Replace the use of the points to curve map with looping through curves then points
e9831ef555
Add some comments