Page MenuHome

Overlay: enable/disable drawing of specific object types.
ClosedPublic

Authored by Jeroen Bakker (jbakker) on Jul 5 2018, 2:38 PM.

Details

Summary

This patch will allow users to customize what object types will be drawn by the object mode overlay.
It supports: Empties, Lamps, Cameras, Speakers, Armatures and Lightprobes.

It currently does not support Physics objects due to the overlap it has with other objects types.

Also be aware that in pose mode the armature is drawn, but not by the object mode overlay

Diff Detail

Repository
rB Blender

Event Timeline

source/blender/makesdna/DNA_view3d_types.h
388–395

Would flip the flags, otherwise when adding options we need to version bump every time. (eg: V3D_OVERLAY_HIDE_EMPTY)

389–394

Strange that only some object types are supported.

  • Refactor: SHOW->HIDE
Jeroen Bakker (jbakker) marked an inline comment as done.
  • Refactored into a single option
Jeroen Bakker (jbakker) marked an inline comment as done.Jul 5 2018, 3:41 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jul 5 2018, 4:48 PM
This revision was automatically updated to reflect the committed changes.