Page MenuHome

Overlay Engine: Option to Disable AA Ortho Grid
ClosedPublic

Authored by Jeroen Bakker (jbakker) on Apr 17 2019, 12:11 PM.

Details

Summary

When in Axis alligned orthographic view a grid was always displayed.
With this change the user can enable/disable this grid.

The Grid is always visible and editable, but only rendered active when user is in quad view, or axis aligned ortho view.

I am not 100% sure about the API. Should we do a specific is_axis_aligned read only boolean or should we make the view enum visible in the API?

Diff Detail

Repository
rB Blender

Event Timeline

source/blender/makesrna/intern/rna_space.c
3791

Do we want this in the API, or do we want to add the view property in its whole?

This revision is now accepted and ready to land.Apr 17 2019, 1:57 PM

Wait a moment before committing this, I want to review this still.

Jeroen Bakker (jbakker) edited the summary of this revision. (Show Details)Apr 17 2019, 2:29 PM
This revision now requires review to proceed.Apr 17 2019, 3:47 PM
Brecht Van Lommel (brecht) requested changes to this revision.Apr 17 2019, 7:29 PM

Great to see these all your assigned tasks getting solved so quickly :)

release/scripts/startup/bl_ui/space_view3d.py
4838–4851

These settings also have an effect for ortho side views. So overlay.show_floor should be overlay.show_floor or overlay.show_ortho_grid here.

source/blender/makesrna/intern/rna_space.c
2942

othographics axis aligned view -> orthographic side views

Axis aligned is more a programming term.

3791

I'm fine having this in the API. But I would call it is_orthographic_side_view and not introduce new terminology.

This revision now requires changes to proceed.Apr 17 2019, 7:29 PM

Solved comments from code review

Jeroen Bakker (jbakker) marked 3 inline comments as done.

Missed one

This revision is now accepted and ready to land.Apr 18 2019, 9:59 AM
This revision was automatically updated to reflect the committed changes.