Fix crash when deleting workspace active in multiple windows

This commit is contained in:
Julian Eisel
2017-10-06 18:01:40 +02:00
parent 5ec270c20c
commit b0ecd2eaaa
2 changed files with 4 additions and 4 deletions

View File

@@ -140,7 +140,7 @@ struct WorkSpace *ED_workspace_duplicate(
bool ED_workspace_delete(
struct WorkSpace *workspace,
struct Main *bmain, struct bContext *C,
struct wmWindowManager *wm, struct wmWindow *win) ATTR_NONNULL();
struct wmWindowManager *wm) ATTR_NONNULL();
void ED_workspace_scene_data_sync(
struct WorkSpaceInstanceHook *hook, Scene *scene) ATTR_NONNULL();
void ED_workspace_render_layer_unset(