Toggling edit mode while cage-baking to a hairy model in cycles crashes Blender
Open, ConfirmedPublic


System Information
Operating system: Fedora 24

Blender Version
Broken: 2.78

Short description of error
Toggling edit mode in the process of baking from any (hairless) model to a model with a hair particle system, if the cage option for baking is turned on, causes a crash to desktop when selecting the object's modifiers afterwards. Also, it seems that saving the file after the baking is complete may cause the file to crash on loading if the screen layout includes a scene graph or a 3D view displaying the object in any mode other than edit mode. If, after loading the saved file, none of these two criteria are met, the problem can be fixed by using the python console to codedly delete the hair particle system from the object's modifiers.

Exact steps for others to reproduce the error
In the blend file


  1. Click the "bake" button in the properties window.
  2. Press tab twice while the cursor is in the 3D view window to switch the active object (the one being rendered to) into and out of edit mode.
  3. After the baking is done, click the modifiers button in the properties window.
  4. Watch as Blender crashes.