Blender Git Commit Log

Git Commits -> Revision f9f559a

Revision f9f559a by Campbell Barton (master)
March 2, 2018, 13:22 (GMT)
WorkSpace: Simplify exiting mode after changes

It was too tricky to know ahead of time if an object would still
be visible in the new window/workspace/scene/layer combination,
especially since other windows may share some of these data-blocks.

So store the context, make the change, then check if the object is
still visible, freeing mode data of it's not.

Commit Details:

Full Hash: f9f559a05fc16e66031210e62bd7bc51d26208a3
Parent Commit: 35bd1bb
Lines Changed: +30, -32

4 Modified Paths:

/source/blender/editors/include/ED_object.h (+3, -0) (Diff)
/source/blender/editors/object/object_modes.c (+13, -0) (Diff)
/source/blender/editors/scene/scene_edit.c (+3, -13) (Diff)
/source/blender/editors/screen/workspace_edit.c (+11, -19) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021