--- Operating System, Graphics card ---
Windows 7
--- Blender version with error, and version that worked ---
2.67
--- Short description of error ---
mode_set() seems to change nothing if Blender is running in background mode (cmd), editmode_toggle() does however.
If one changes scene in UI, Blender changes context mode to object in the former scene. If I change bpy.context.screen.scene with a script in background mode, mode doesn't change.
--- Steps for others to reproduce the error (preferably based on attached .blend file) ---
Command line used:
blender -y -Y -b file.blend -P script.py
files attached
Description
Description