[Bf-blender-cvs] [95f8041af97] soc-2019-bevel-profiles: Fix build error: Update changed PointerRNA field
Hans Goudey
noreply at git.blender.org
Tue Sep 10 22:56:15 CEST 2019
Commit: 95f8041af971d30b265e370b5df7b8287b87615b
Author: Hans Goudey
Date: Tue Sep 10 16:39:19 2019 -0400
Branches: soc-2019-bevel-profiles
https://developer.blender.org/rB95f8041af971d30b265e370b5df7b8287b87615b
Fix build error: Update changed PointerRNA field
===================================================================
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 f2fb188288b..4e4867562c8 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -5100,7 +5100,7 @@ void uiTemplateProfileWidget(uiLayout *layout, PointerRNA *ptr, const char *prop
cb->ptr = *ptr;
cb->prop = prop;
- id = cptr.id.data;
+ id = cptr.owner_id;
UI_block_lock_set(block, (id && ID_IS_LINKED(id)), ERROR_LIBDATA_MESSAGE);
profilewidget_buttons_layout(layout, &cptr, cb);
More information about the Bf-blender-cvs
mailing list