Blender Git Loki

Git Commits -> Revision e12767a

Revision e12767a by Jacques Lucke (master)
September 29, 2020, 10:39 (GMT)
Volumes: support selection and outlines in viewport

Previously, one could only select a volume object in the outliner
or by clicking on the object origin. This patch allows you to click
on the actual volume.

Furthermore, the generated (invisible) mesh that is used for
selection is also used to draw an outline for the volume object now.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D9022

Commit Details:

Full Hash: e12767a0352a9e113892b4a07c6c8446d3ff361f
Parent Commit: 6374644
Lines Changed: +455, -158

1 Added Path:

/source/blender/draw/engines/overlay/overlay_volume.c (+67, -0) (View)

10 Modified Paths:

/source/blender/blenkernel/BKE_volume_render.h (+10, -0) (Diff)
/source/blender/blenkernel/intern/volume_render.cc (+294, -158) (Diff)
/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_engine.c (+6, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_outline.c (+16, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+6, -0) (Diff)
/source/blender/draw/intern/draw_cache.c (+6, -0) (Diff)
/source/blender/draw/intern/draw_cache.h (+1, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl.h (+1, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl_volume.c (+47, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021