Skip to content

Conversation

StamLord
Copy link

This is an attempt to fix #110653

This fix assumes it makes sense to ignore range checks for orthogonal cameras as they are meant to display objects regardless of distance.

  • Added is_orthogonal to both CullData and VisibilityCullData
  • Skipped range_check in _scene_cull and in _visibility_cull when the camera is orthogonal

Important:

  • The issue seems fixed in the editor's orthogonal views with only _scene_cull patched.
  • I don't fully understand the differences between _scene_cull and _visibility_cull so I chose to apply the changes symmetricaIly.
  • In _visibility_cull I chose to clear all flags but I might be missing some use cases.

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.

Editor 3d view - orthogonal perspective meshes not visible when visibility range is used on the mesh
2 participants