Fix: Snap to text origin

Fixes bug where "Snap to vertex" tool would snap to text origins when it shouldn't.

Introduced from ab3e470b35

Pull Request: https://projects.blender.org/blender/blender/pulls/131767
This commit is contained in:
Gerard Taulats
2024-12-19 23:48:10 +01:00
committed by Germano Cavalcante
parent 8b386af223
commit f63fbccf76

View File

@@ -926,7 +926,9 @@ static eSnapMode snap_obj_fn(SnapObjectContext *sctx,
retval = snapCurve(sctx, ob_eval, obmat);
}
break;
case OB_FONT:
case OB_FONT: {
break;
}
case OB_EMPTY:
case OB_LAMP:
retval = snap_object_center(sctx, ob_eval, obmat, sctx->runtime.snap_to_flag);