Merge branch 'blender-v3.3-release'

This commit is contained in:
Bastien Montagne 2022-08-22 12:16:11 +02:00
commit ba74704c9a
Notes: blender-bot 2023-02-14 05:44:22 +01:00
Referenced by issue #100596, Line Art doesn't render from Sequencer Perspective
Referenced by issue #100596, Line Art doesn't render from Sequencer Perspective
Referenced by issue #100596, Line Art doesn't render from Sequencer Perspective
1 changed files with 5 additions and 2 deletions

View File

@ -571,8 +571,11 @@ static uiBlock *id_search_menu(bContext *C, ARegion *region, void *arg_litem)
/** \name ID Template
* \{ */
/* This is for browsing and editing the ID-blocks used */
static void template_id_cb(bContext *C, void *arg_litem, void *arg_event);
/**
* This is for browsing and editing the ID-blocks used.
*/
void UI_context_active_but_prop_get_templateID(bContext *C,
PointerRNA *r_ptr,
PropertyRNA **r_prop)
@ -582,7 +585,7 @@ void UI_context_active_but_prop_get_templateID(bContext *C,
memset(r_ptr, 0, sizeof(*r_ptr));
*r_prop = NULL;
if (but && but->func_argN) {
if (but && (but->funcN == template_id_cb) && but->func_argN) {
TemplateID *template_ui = but->func_argN;
*r_ptr = template_ui->ptr;
*r_prop = template_ui->prop;