Blender Git Loki

Git Commits -> Revision 52668c5

Revision 52668c5 by Joshua Leung (master)
February 8, 2016, 13:45 (GMT)
GPencil: Layers with alpha = 0 should not be editable

* Added a new API function to test if a GPencil layer is visible or not
* Replaced all editability checks with this new "super check"
* Replaced all magic number thresholds for opacity visiblity with a single define

Commit Details:

Full Hash: 52668c56b74f75c45a6b5176704dfd168fd3e6ac
Parent Commit: 4bc070a
Lines Changed: +43, -19

9 Modified Paths:

/source/blender/blenkernel/BKE_gpencil.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+27, -2) (Diff)
/source/blender/editors/gpencil/drawgpencil.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_brush.c (+1, -3) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+2, -2) (Diff)
/source/blender/editors/screen/screen_context.c (+2, -2) (Diff)
/source/blender/editors/transform/transform_conversions.c (+2, -6) (Diff)
/source/blender/makesrna/intern/rna_gpencil.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021