Blender Git Loki
Git Commits -> Revision c9fa37f
Revision c9fa37f by Sergey Sharybin (master) February 18, 2015, 16:52 (GMT) |
Cycles: Initialize "headless" flags on engine initialization This flag is global for all the sessions and never changes. so it doesn't really make sense to pass it around to all sessions and synchronization routines. Switched to a static member of BlenderSession now, but it's probably more logical to introduce some sort of BlenderGlobals. Doesn't currently worth a hassle for a single boolean flag tho. |
Commit Details:
Full Hash: c9fa37fbcd0af7196915fa17642b205024a6d249
Parent Commit: 6f3500d
Lines Changed: +27, -24
7 Modified Paths:
/intern/cycles/blender/addon/engine.py (+3, -3) (Diff)
/intern/cycles/blender/addon/__init__.py (+1, -1) (Diff)
/intern/cycles/blender/blender_python.cpp (+8, -5) (Diff)
/intern/cycles/blender/blender_session.cpp (+9, -8) (Diff)
/intern/cycles/blender/blender_session.h (+2, -2) (Diff)
/intern/cycles/blender/blender_sync.cpp (+3, -3) (Diff)
/intern/cycles/blender/blender_sync.h (+1, -2) (Diff)
/intern/cycles/blender/addon/__init__.py (+1, -1) (Diff)
/intern/cycles/blender/blender_python.cpp (+8, -5) (Diff)
/intern/cycles/blender/blender_session.cpp (+9, -8) (Diff)
/intern/cycles/blender/blender_session.h (+2, -2) (Diff)
/intern/cycles/blender/blender_sync.cpp (+3, -3) (Diff)
/intern/cycles/blender/blender_sync.h (+1, -2) (Diff)