Cleanup: remove accidentally committed asserts

I wanted to remove those before committing 6a6dd392e2.
This commit is contained in:
Jacques Lucke
2023-10-11 16:05:59 +02:00
parent 79b9fff399
commit 7a8600f967

View File

@@ -360,9 +360,6 @@ ARegion *BKE_area_region_copy(const SpaceType *st, const ARegion *region)
}
panel_list_copy(&newar->panels, &region->panels);
LISTBASE_FOREACH (Panel *, p, &newar->panels) {
BLI_assert(p->runtime);
}
BLI_listbase_clear(&newar->ui_previews);
BLI_duplicatelist(&newar->ui_previews, &region->ui_previews);