[Bf-blender-cvs] [d00b886bfd4] soc-2020-outliner: Outliner: Add gpencil effect props sync
Nathan Craddock
noreply at git.blender.org
Sat Jul 18 02:56:44 CEST 2020
Commit: d00b886bfd4006350df2118cd8ae6061ebe17f3b
Author: Nathan Craddock
Date: Fri Jul 17 16:24:28 2020 -0600
Branches: soc-2020-outliner
https://developer.blender.org/rBd00b886bfd4006350df2118cd8ae6061ebe17f3b
Outliner: Add gpencil effect props sync
Add properties tab sync when gpencil shader effects are selected.
===================================================================
M source/blender/editors/space_outliner/outliner_select.c
===================================================================
diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c
index 26688faf80d..2de96fcbc97 100644
--- a/source/blender/editors/space_outliner/outliner_select.c
+++ b/source/blender/editors/space_outliner/outliner_select.c
@@ -1205,6 +1205,11 @@ static void outliner_set_properties_tab(bContext *C, TreeElement *te, TreeStoreE
RNA_id_pointer_create(tselem->id, &ptr);
ED_buttons_set_context(C, &ptr, BCONTEXT_MODIFIER);
break;
+ case TSE_EFFECT_BASE:
+ case TSE_EFFECT:
+ RNA_id_pointer_create(tselem->id, &ptr);
+ ED_buttons_set_context(C, &ptr, BCONTEXT_SHADERFX);
+ break;
case TSE_BONE: {
bArmature *arm = (bArmature *)tselem->id;
Bone *bone = te->directdata;
More information about the Bf-blender-cvs
mailing list