[Bf-blender-cvs] [0a3feb679cb] temp-greasepencil-vfx: Fix error of context
Antonio Vazquez
noreply at git.blender.org
Tue Jun 26 15:36:41 CEST 2018
Commit: 0a3feb679cba83849751c2c983719252201c42a3
Author: Antonio Vazquez
Date: Tue Jun 26 15:18:31 2018 +0200
Branches: temp-greasepencil-vfx
https://developer.blender.org/rB0a3feb679cba83849751c2c983719252201c42a3
Fix error of context
===================================================================
M source/blender/editors/interface/interface_templates.c
===================================================================
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index 710b61870d0..46e74715e85 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -1670,10 +1670,10 @@ static uiLayout *gpencil_draw_shaderfx(uiLayout *layout, Object *ob,
uiLayout *result = NULL;
/* create RNA pointer */
- RNA_pointer_create(&ob->id, &RNA_GpencilModifier, md, &ptr);
+ RNA_pointer_create(&ob->id, &RNA_ShaderFx, md, &ptr);
column = uiLayoutColumn(layout, true);
- uiLayoutSetContextPointer(column, "shader", &ptr);
+ uiLayoutSetContextPointer(column, "shaderfx", &ptr);
/* rounded header ------------------------------------------------------------------- */
box = uiLayoutBox(column);
More information about the Bf-blender-cvs
mailing list