Blender Git Loki
Git Commits -> Revision a3802f6
Revision a3802f6 by Jacques Lucke (master) October 31, 2018, 12:42 (GMT) |
Image Empties: More visibility settings Support for showing images in background/foreground and only in perspective/orthographic view. Internally the depth of the image is modified in the fragment shader by setting `gl_FragDepth` explicitly. The UI still needs some work to improve usability, see D3863 for details. Currently there is one duplicated function, not sure how to best deduplicate it yet. (`is_image_empty_visible`) Reviewer: fclem, brecht, campbellbarton Differential Revision: https://developer.blender.org/D3863 |
Commit Details:
Full Hash: a3802f66e22e57115f48545a39bf41959eb16fad
Parent Commit: 0727abf
Lines Changed: +109, -10
8 Modified Paths:
/release/scripts/startup/bl_ui/properties_data_empty.py (+4, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+4, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+5, -0) (Diff)
/source/blender/draw/modes/object_mode.c (+33, -9) (Diff)
/source/blender/draw/modes/shaders/object_empty_image_frag.glsl (+12, -0) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_empty.c (+15, -1) (Diff)
/source/blender/makesdna/DNA_object_types.h (+14, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+22, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+4, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+5, -0) (Diff)
/source/blender/draw/modes/object_mode.c (+33, -9) (Diff)
/source/blender/draw/modes/shaders/object_empty_image_frag.glsl (+12, -0) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_empty.c (+15, -1) (Diff)
/source/blender/makesdna/DNA_object_types.h (+14, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+22, -0) (Diff)