docs: clarify realize_environment only runs on new descriptors #712

Open
SakulFlee wants to merge 1 commit from perf/environment-realize-once into main
Owner

The comment incorrectly suggested the environment was re-realized every
frame. In reality, the descriptor is cleared to None on success, so
the function only runs when a new environment descriptor is provided.
Updated the comment to reflect the actual behavior.

The comment incorrectly suggested the environment was re-realized every frame. In reality, the descriptor is cleared to None on success, so the function only runs when a new environment descriptor is provided. Updated the comment to reflect the actual behavior.
docs: clarify realize_environment only runs on new descriptors
All checks were successful
ci/woodpecker/push/linting Pipeline was successful
c524a4af7d
The comment incorrectly suggested the environment was re-realized every
frame. In reality, the descriptor is cleared to None on success, so
the function only runs when a new environment descriptor is provided.
Updated the comment to reflect the actual behavior.
Some checks are pending
ci/woodpecker/push/linting Pipeline was successful
ci/woodpecker/pr/test
Required
ci/woodpecker/pr/linting
Required
This pull request has changes conflicting with the target branch.
  • Crates/orbital_app/src/systems/realize.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin perf/environment-realize-once:perf/environment-realize-once
git switch perf/environment-realize-once
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SakulFlee/Orbital!712
No description provided.