Blender Git Loki

Git Commits -> Revision 6920735

Revision 6920735 by Sybren A. Stüvel (master)
February 18, 2015, 11:08 (GMT)
Include SDL information in system info text.

Adds bpy.app.sdl to expose SDL version information.

When SDL is not available on a Linux system, certain Blender features
are silently disabled (like joystick support in the BGE). This change
is the first step towards making it more obvious why something isn't
working.

SDL information is exposed to Python via bpy.app.sdl, in the same way
as OCIO and OIIO information is exposed.

Generated system-info.txt contains SDL loading method (linked or
dynamically loaded by Blender) and SDL version number.

Reviewed by: sergey, campbellbarton

Differential Revision: https://developer.blender.org/D1112

Commit Details:

Full Hash: 6920735cff6b5b2ab9e4e6d8090fb48bba7d9ba4
Parent Commit: 7f7413b
Lines Changed: +209, -0

2 Added Paths:

/source/blender/python/intern/bpy_app_sdl.c (+136, -0) (View)
/source/blender/python/intern/bpy_app_sdl.h (+32, -0) (View)

5 Modified Paths:

/release/scripts/modules/sys_info.py (+15, -0) (Diff)
/source/blender/python/intern/bpy_app.c (+3, -0) (Diff)
/source/blender/python/intern/bpy_app_build_options.c (+7, -0) (Diff)
/source/blender/python/intern/CMakeLists.txt (+11, -0) (Diff)
/source/blender/python/SConscript (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021