Blender Git Loki

Git Commits -> Revision f63d65a

Revision f63d65a by Sybren A. Stüvel (master)
November 29, 2019, 15:05 (GMT)
Tests: prevent failing assertion when running blendfile-loading test

Loading a blendfile allocates one or more windows that need to be freed.
Freeing those windows also calls `BKE_workspace_instance_hook_free()` to
free workspaces. However, in the `BlendfileLoadingBaseTest` test there are
no workspaces allocated. This caused an assertion failure, which was worked
around by not asserting when Blender is running in background mode.

Reviewed by @Severin via pair programming

Commit Details:

Full Hash: f63d65ae5ab9c85656a2f81ed4680f112029fe79
Parent Commit: 846e402b
Lines Changed: +5, -2

1 Modified Path:

/source/blender/blenkernel/intern/workspace.c (+5, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021