UI: Add Open Image button to Mask Stencil Image panel
authorAaron Carlisle <carlisle.b3d@gmail.com>
Fri, 21 Jul 2017 20:46:35 +0000 (16:46 -0400)
committerAaron Carlisle <carlisle.b3d@gmail.com>
Fri, 21 Jul 2017 20:46:35 +0000 (16:46 -0400)
commit9e40977c271e7cc3f0f0bf6acaf46949daac7a5f
treef9d5f6fd80aee4bb974f733712c39c17928b1b0a
parent34f0250f323cb2ef762aeeb6e661fce3af78257d
UI: Add Open Image button to Mask Stencil Image panel

In the future we should make these two buttons on one line
However because we need `gen_context = 'PAINT_STENCIL'`
this is a little hard and we need to find a proper solution.
One might be using `context_pointer_set`

Patch by @craig_jones with edits by @blendify

Differential Revision: https://developer.blender.org/D2710
release/scripts/startup/bl_ui/space_view3d_toolbar.py