diff options
author | Matias Mendiola <matias.mendiola@gmail.com> | 2019-09-05 14:28:42 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-09-05 14:29:13 +0300 |
commit | d0462dca907177c04e81c098f07f577f7a036918 (patch) | |
tree | 606e02fb87187243aa59d738081ca08fef3cb39a /source/blender/editors/gpencil/gpencil_intern.h | |
parent | 3a0b22b2daea4d255063cbb8f6269b8a764618d4 (diff) |
GPencil: New Operator to set the active object material based on the selected stroke material
The operator set as active object material the material used in the selected stroke.
Access to the operator were added in the stroke menu and context stroke menu.
Reviewers: antoniov, pepeland
Tags: #bf_blender, #grease_pencil
Differential Revision: https://developer.blender.org/D5692
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_intern.h')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h index c2a9eae272f..d0c6905b07e 100644 --- a/source/blender/editors/gpencil/gpencil_intern.h +++ b/source/blender/editors/gpencil/gpencil_intern.h @@ -528,6 +528,7 @@ void GPENCIL_OT_color_reveal(struct wmOperatorType *ot); void GPENCIL_OT_color_lock_all(struct wmOperatorType *ot); void GPENCIL_OT_color_unlock_all(struct wmOperatorType *ot); void GPENCIL_OT_color_select(struct wmOperatorType *ot); +void GPENCIL_OT_set_active_material(struct wmOperatorType *ot); /* convert old 2.7 files to 2.8 */ void GPENCIL_OT_convert_old_files(struct wmOperatorType *ot); |