Fix build error after rBb9bb752e0e852d
This looks like a misplaced variable definition, which is then used out of scope later.
This commit is contained in:
@@ -370,9 +370,9 @@ static struct MenuSearch_Data *menu_items_from_ui_create(
|
||||
|
||||
/* Types match, cycle the subtype. */
|
||||
|
||||
PropertyRNA *prop_ui_type = NULL;
|
||||
if (include_all_areas) {
|
||||
/* First create arrays for ui_type. */
|
||||
PropertyRNA *prop_ui_type;
|
||||
{
|
||||
PointerRNA ptr;
|
||||
RNA_pointer_create(NULL, &RNA_Area, NULL, &ptr);
|
||||
|
||||
Reference in New Issue
Block a user