Skip to content

fix position not updating for downloads#1840

Closed
kpuriIpac wants to merge 1 commit intorc-2025.4from
IRSA-7252-cutout-bugs
Closed

fix position not updating for downloads#1840
kpuriIpac wants to merge 1 commit intorc-2025.4from
IRSA-7252-cutout-bugs

Conversation

@kpuriIpac
Copy link
Contributor

No description provided.

Comment on lines 200 to +206
if (pointIn(drawObj.pts, positionWP)) return result;
const fallback = makeWorldPtUsingCenterColumns(table, row);
return {requestedType: result.requestedType, foundType: fallback ? ROW_POSITION : undefined, positionWP: fallback};
return {
requestedType: result?.requestedType,
foundType: result?.foundType ?? (fallback ? ROW_POSITION : undefined),
positionWP: result?.positionWP ?? (fallback || undefined)
};
Copy link
Contributor Author

@kpuriIpac kpuriIpac Sep 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never mind, I don't need this code. I'll close this PR.

The only use case was that if the user enters a position (user entered position) that fails the pointIn(drawObj.pts, positionWP) (returns false), then we fallback to the ROW_POSITION. But I think that's intentional, right? In that case, I don't need to add this code.

Can you confirm @robyww?

(I can confirm the bug is fixed even without this change, and just with the IFE change. I built the Jenkins builds as well with only the rc-2025.4 branch and IFE feature branch)

@kpuriIpac
Copy link
Contributor Author

these changes are not needed

@kpuriIpac kpuriIpac closed this Sep 12, 2025
@robyww robyww deleted the IRSA-7252-cutout-bugs branch November 19, 2025 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant