Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NavBase properties not requesting sync #102754

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

smix8
Copy link
Contributor

@smix8 smix8 commented Feb 12, 2025

Fixes that setters of NavBase properties never made the link or region dirty and requested a sync.

Fixes #102745

Frankly that the NavBase setters never made the link or region dirty was already questionable, it was just not creating an immediate problem. It was not a problem before because everything, for better or worse, was reading directly from the link or region pointer. Now it is reading from an iteration and without a sync request this iteration never gets updated and that caused the bug.

@smix8 smix8 added this to the 4.4 milestone Feb 12, 2025
@smix8 smix8 requested a review from a team as a code owner February 12, 2025 09:08
Fixes that setters of NavBase properties never made the link or region dirty and requested a sync.
@smix8 smix8 force-pushed the fix_navbase_dirty branch from d33c195 to 98f5305 Compare February 12, 2025 11:16
@Repiteo Repiteo merged commit d2c79f0 into godotengine:master Feb 13, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Feb 13, 2025

Thanks!

@smix8 smix8 deleted the fix_navbase_dirty branch February 13, 2025 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NavigationAgent3D doesn't use NavigationLink3D after switching navigation layer of NavigationLink3D via script
4 participants