Blender Git Commit Log

Git Commits -> Revision aa49444

Revision aa49444 by Dalai Felinto (master)
March 8, 2019, 21:52 (GMT)
Fix crash when deleting workspaces too fast

Delete workspaces via the menu was not refreshing the workspace tabs
drawing. This way if you deleted the non-active workspace with the "e" shortcut
from the workspace tab context menu and clicked on the workspace tabs again, it
would crash.

A few notes:
* Deleting a non-active workspace is changing which workspace is then active,
which is really strange.

* Even when deleting the active workspace which workspace then becomes active
seems random.

* Using notifiers (ND_WORKSPACE_DELETE) to delete the workspace seems rather
abusing notifiers in my humble opinion.

This is not an important bugfix anyways, people probably would rarely
run into this. I just ran into it while investigating another bug.

Commit Details:

Full Hash: aa49444c291fd54e5e45576a28d36d72816a5469
Parent Commit: 2ada9c5
Lines Changed: +1, -0

1 Modified Path:

/source/blender/editors/screen/workspace_edit.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021