forked from 1b-agent/opencadstudio-upstream
Entity grips() return world-space coordinates (raw DXF values). After the world_offset change the camera view_proj is in local space, so projecting world-space grips through it gave wrong screen positions and hit-test failures. - refresh_selected_grips: subtract world_offset from every grip.world so selected_grips are stored in local (camera) space - Grip drag: cursor/snap positions are already local space; for GripApply::Absolute add world_offset back before passing to entity so entity coordinates stay in world space. Translate deltas are identical in both spaces so no conversion is needed there. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>