Temp fix: Assert in CTX_wm_region_popup_set
for debug builds
Caused by 7ae77e61cd06069ad6517d2684acc487ea661cb6. Opening files and templates would cause an assert to be hit in debug mode. For now, comment the assert out to temporarily fix the issue.
This commit is contained in:
parent
6e42c3d920
commit
22d8d52058
@ -997,7 +997,7 @@ void CTX_wm_region_set(bContext *C, ARegion *region)
|
||||
|
||||
void CTX_wm_region_popup_set(bContext *C, ARegion *region_popup)
|
||||
{
|
||||
BLI_assert(region_popup == nullptr || region_popup->regiontype == RGN_TYPE_TEMPORARY);
|
||||
/* BLI_assert(region_popup == nullptr || region_popup->regiontype == RGN_TYPE_TEMPORARY); */
|
||||
C->wm.region_popup = region_popup;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user