Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/intern/bpy_app.c
| Show All 27 Lines | |||||
| * however some writable variables have been added such as 'debug' and 'tempdir' | * however some writable variables have been added such as 'debug' and 'tempdir' | ||||
| */ | */ | ||||
| #include <Python.h> | #include <Python.h> | ||||
| #include "bpy_app.h" | #include "bpy_app.h" | ||||
| #include "bpy_app_alembic.h" | |||||
| #include "bpy_app_ffmpeg.h" | #include "bpy_app_ffmpeg.h" | ||||
| #include "bpy_app_ocio.h" | #include "bpy_app_ocio.h" | ||||
| #include "bpy_app_oiio.h" | #include "bpy_app_oiio.h" | ||||
| #include "bpy_app_openvdb.h" | #include "bpy_app_openvdb.h" | ||||
| #include "bpy_app_sdl.h" | #include "bpy_app_sdl.h" | ||||
| #include "bpy_app_build_options.h" | #include "bpy_app_build_options.h" | ||||
| #include "bpy_app_translations.h" | #include "bpy_app_translations.h" | ||||
| ▲ Show 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | static PyStructSequence_Field app_info_fields[] = { | ||||
| {(char *)"build_platform", (char *)"The platform this blender instance was built for"}, | {(char *)"build_platform", (char *)"The platform this blender instance was built for"}, | ||||
| {(char *)"build_type", (char *)"The type of build (Release, Debug)"}, | {(char *)"build_type", (char *)"The type of build (Release, Debug)"}, | ||||
| {(char *)"build_cflags", (char *)"C compiler flags"}, | {(char *)"build_cflags", (char *)"C compiler flags"}, | ||||
| {(char *)"build_cxxflags", (char *)"C++ compiler flags"}, | {(char *)"build_cxxflags", (char *)"C++ compiler flags"}, | ||||
| {(char *)"build_linkflags", (char *)"Binary linking flags"}, | {(char *)"build_linkflags", (char *)"Binary linking flags"}, | ||||
| {(char *)"build_system", (char *)"Build system used"}, | {(char *)"build_system", (char *)"Build system used"}, | ||||
| /* submodules */ | /* submodules */ | ||||
| {(char *)"alembic", (char *)"Alembic library information backend"}, | |||||
| {(char *)"ffmpeg", (char *)"FFmpeg library information backend"}, | {(char *)"ffmpeg", (char *)"FFmpeg library information backend"}, | ||||
| {(char *)"ocio", (char *)"OpenColorIO library information backend"}, | {(char *)"ocio", (char *)"OpenColorIO library information backend"}, | ||||
| {(char *)"oiio", (char *)"OpenImageIO library information backend"}, | {(char *)"oiio", (char *)"OpenImageIO library information backend"}, | ||||
| {(char *)"openvdb", (char *)"OpenVDB library information backend"}, | {(char *)"openvdb", (char *)"OpenVDB library information backend"}, | ||||
| {(char *)"sdl", (char *)"SDL library information backend"}, | {(char *)"sdl", (char *)"SDL library information backend"}, | ||||
| {(char *)"build_options", (char *)"A set containing most important enabled optional build features"}, | {(char *)"build_options", (char *)"A set containing most important enabled optional build features"}, | ||||
| {(char *)"handlers", (char *)"Application handler callbacks"}, | {(char *)"handlers", (char *)"Application handler callbacks"}, | ||||
| {(char *)"translations", (char *)"Application and addons internationalization API"}, | {(char *)"translations", (char *)"Application and addons internationalization API"}, | ||||
| ▲ Show 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | #else | ||||
| SetBytesItem("Unknown"); | SetBytesItem("Unknown"); | ||||
| SetBytesItem("Unknown"); | SetBytesItem("Unknown"); | ||||
| SetBytesItem("Unknown"); | SetBytesItem("Unknown"); | ||||
| SetBytesItem("Unknown"); | SetBytesItem("Unknown"); | ||||
| SetBytesItem("Unknown"); | SetBytesItem("Unknown"); | ||||
| SetBytesItem("Unknown"); | SetBytesItem("Unknown"); | ||||
| #endif | #endif | ||||
| SetObjItem(BPY_app_alembic_struct()); | |||||
| SetObjItem(BPY_app_ffmpeg_struct()); | SetObjItem(BPY_app_ffmpeg_struct()); | ||||
| SetObjItem(BPY_app_ocio_struct()); | SetObjItem(BPY_app_ocio_struct()); | ||||
| SetObjItem(BPY_app_oiio_struct()); | SetObjItem(BPY_app_oiio_struct()); | ||||
| SetObjItem(BPY_app_openvdb_struct()); | SetObjItem(BPY_app_openvdb_struct()); | ||||
| SetObjItem(BPY_app_sdl_struct()); | SetObjItem(BPY_app_sdl_struct()); | ||||
| SetObjItem(BPY_app_build_options_struct()); | SetObjItem(BPY_app_build_options_struct()); | ||||
| SetObjItem(BPY_app_handlers_struct()); | SetObjItem(BPY_app_handlers_struct()); | ||||
| SetObjItem(BPY_app_translations_struct()); | SetObjItem(BPY_app_translations_struct()); | ||||
| ▲ Show 20 Lines • Show All 193 Lines • Show Last 20 Lines | |||||