Fix #143870: Grease Pencil: Fix typo in dash modifier

Previously modified by e7a3f0758e, should be `!joined_geo.has_curves()`.

Pull Request: https://projects.blender.org/blender/blender/pulls/143889
This commit is contained in:
YimingWu
2025-08-03 14:09:08 +02:00
committed by YimingWu
parent 77563587cd
commit 250e809d6f

View File

@@ -358,7 +358,7 @@ static void modify_drawing(const GreasePencilDashModifierData &dmd,
bke::GeometrySet unselected_geo = bke::GeometrySet::from_curves(unselected_curves_id);
bke::GeometrySet joined_geo = geometry::join_geometries({unselected_geo, masked_geo}, {});
if (joined_geo.has_curves()) {
if (!joined_geo.has_curves()) {
drawing.strokes_for_write() = {};
}
else {