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:52:41 +0000 (16:52 -0400)
commit70eac432b7ad5a702c7fb4e4a85433d5ca36e4cf
treed684be3ca6579873410265e3963d52f70f8a8576
parent9e40977c271e7cc3f0f0bf6acaf46949daac7a5f
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