Skip to content

Conversation

@seer-by-sentry
Copy link

Fixes CLIENT-28A. The issue was that: Unchecked division by m_FXPitch in W3DView during shutdown causes INT_DIVIDE_BY_ZERO when m_FXPitch is zero.

  • Added checks for m_FXPitch != 0.0f before division operations in camera position calculations.
  • Added a check for m_FXPitch != 0.0f before dividing farZ by m_FXPitch.
  • Prevents potential division by zero errors and ensures stable camera behavior.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 8434525

Not quite right? Click here to continue debugging with Seer.

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.

0 participants