Skip to content

fix bug in 1e21f962b63b6762b60db23986a8ad83fafd36d4 - #101

Open
Ikreb1 wants to merge 1 commit into
mainfrom
fix-spaceobject-inverted-lod-factor
Open

Ikreb1 wants to merge 1 commit into
mainfrom
fix-spaceobject-inverted-lod-factor

Conversation

@Ikreb1

@Ikreb1 Ikreb1 commented Sep 24, 2026

Copy link
Copy Markdown
Member

where inverted lod factor is wanted but caller called lod factor getter incorrectly

Summary

1e21f96 accidentally called GetLodFactor instead of GetInvLodFactor so on lower lods we use higher lod settings for spaceobjects :)

Copilot AI lite review requested due to automatic review settings September 24, 2026 15:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

No unresolved review issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Fixes space-object LOD scaling by using the inverse LOD factor for mesh screen-size calculations.

Changes:

  • Replaces GetLodFactor() with GetInvLodFactor() in UpdateVisibility.
File Description
trinity/​Eve/​SpaceObject/​EveSpaceObject2.cpp Corrects inverse LOD factor retrieval.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

2 participants