Show drag arrows on all parametric dimensions, not just ForcePerpendicularToFace

DimensionLinePositionWidget was gated behind ForcePerpendicularToFace in
both the gizmo poll and the regenerate_dimension LinePosition application.
The coupling was unnecessary: _get_line_offset_direction already derives
the offset axis from cross(world_Z, dim_direction) as its primary path,
requiring the face normal only as a vertical-dimension fallback.

Remove the ForcePerpendicularToFace guard from both sites so any
anchor-based dimension shows the drag arrows and responds to LinePosition.
This commit is contained in:
Ryan Schultz
2026-06-14 15:14:56 -05:00
parent 5309b4614c
commit 2a5685a7d0
@@ -2803,7 +2803,7 @@ class DimensionLinePositionWidget(types.GizmoGroup):
if _ue.get_predefined_type(element) not in cls._DIM_TYPES:
return False
pset = _ue.get_pset(element, "BBIM_Dimension")
return bool(pset and pset.get("Anchors") and pset.get("ForcePerpendicularToFace"))
return bool(pset and pset.get("Anchors"))
# ------------------------------------------------------------------
# Helpers