Page MenuHome

DrawManager: Disable Clipping in material/rendered mode
Needs ReviewPublic

Authored by Jeroen Bakker (jbakker) on Oct 11 2019, 7:04 AM.

Details

Summary

Material and rendered mode doesn't support viewport clipping. But the overlays would still show the clipping. This commit will disable the clipping when in material/rendered mode.

Diff Detail

Repository
rB Blender
Branch
T70512 (branched from master)
Build Status
Buildable 5331
Build 5331: arc lint + arc unit

Event Timeline

Jeroen Bakker (jbakker) retitled this revision from Do now show viewport clipping when in material or rendered mode to [WIP] Do now show viewport clipping when in material or rendered mode.Oct 11 2019, 7:04 AM

Moved code to DNA_view_types as a define

Adding clip border to determine if we need to show the clipping

Jeroen Bakker (jbakker) retitled this revision from [WIP] Do now show viewport clipping when in material or rendered mode to DrawManager: Disable Clipping in material/rendered mode.Oct 11 2019, 10:05 AM
Jeroen Bakker (jbakker) edited the summary of this revision. (Show Details)