Fix: Grease Pencil: Remove fill guide attribute in remove_fill_guides

When using the "Remove Fill Guides" operator, it deleted the strokes
that were used as fill guides, but it didn't remove the attribute
afterwards.
This commit is contained in:
Falk David
2025-07-30 13:38:34 +02:00
parent 5783c600dc
commit d6b1805e2c

View File

@@ -2001,6 +2001,9 @@ bool remove_fill_guides(bke::CurvesGeometry &curves)
IndexMaskMemory memory;
const IndexMask fill_guides = IndexMask::from_bools(is_fill_guide, memory);
curves.remove_curves(fill_guides, {});
curves.attributes_for_write().remove(".is_fill_guide");
return true;
}