Page MenuHome

TexturePaint: Projection Edit
ClosedPublic

Authored by Jeroen Bakker (jbakker) on May 29 2019, 1:29 PM.

Details

Summary

Disable all overlays except the texture paint overlay. Add alpha to the
resulting image buffer.

Diff Detail

Repository
rB Blender

Event Timeline

Jeroen Bakker (jbakker) retitled this revision from TexturePaint: Projection Edit to TexturePaint: Projection Edit (WIP).May 29 2019, 1:30 PM

Draw background transparent. Please note that this patch required D4909: DrawManager: Color Management to work.

source/blender/editors/sculpt_paint/paint_image_proj.c
6192

remove the = {NULL}

Jeroen Bakker (jbakker) retitled this revision from TexturePaint: Projection Edit (WIP) to TexturePaint: Projection Edit.May 29 2019, 2:41 PM
Brecht Van Lommel (brecht) requested changes to this revision.May 29 2019, 2:45 PM

This also should hide gizmos I think?

It seems a little simpler to modify the copy and then pass that to the function, instead of restoring data in the original.

This revision now requires changes to proceed.May 29 2019, 2:45 PM
source/blender/editors/sculpt_paint/paint_image_proj.c
6192

Could just do View3D v3d_copy = *v3d; perhaps.

Hide GIZMO (I do dislike negative code and substractive flags :-) )

Jeroen Bakker (jbakker) marked an inline comment as done.May 31 2019, 9:01 AM
This revision is now accepted and ready to land.Jun 17 2019, 3:32 PM
This revision was automatically updated to reflect the committed changes.