Blender Git Commit Log

Git Commits -> Revision da128c1

Revision da128c1 by Campbell Barton (master)
February 7, 2018, 07:35 (GMT)
Fix error with Main.eval_ctx.object_mode being unset

This made vertex/weight/sculpt crash.

Add BKE_workspace_update_object_mode which sets the object mode from the
workspace.

We may want to re-visit exactly when this is set, for now call within
wm_event_do_refresh_wm_and_depsgraph.

Commit Details:

Full Hash: da128c12b513179e9fd9743aecb60824c221bb8e
Parent Commit: 17f5d7f
Lines Changed: +24, -0

3 Modified Paths:

/source/blender/blenkernel/BKE_workspace.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/workspace.c (+16, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021