Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_global.h
| Show First 20 Lines • Show All 133 Lines • ▼ Show 20 Lines | typedef struct Global { | ||||
| * Message to show when loading a `.blend` file attempts to execute | * Message to show when loading a `.blend` file attempts to execute | ||||
| * a Python script or driver-expression when doing so is disallowed. | * a Python script or driver-expression when doing so is disallowed. | ||||
| * | * | ||||
| * Set when `(G.f & G_FLAG_SCRIPT_AUTOEXEC_FAIL) == 0`, | * Set when `(G.f & G_FLAG_SCRIPT_AUTOEXEC_FAIL) == 0`, | ||||
| * so users can be alerted to the reason why the file may not be behaving as expected. | * so users can be alerted to the reason why the file may not be behaving as expected. | ||||
| * Typically Python drivers. | * Typically Python drivers. | ||||
| */ | */ | ||||
| char autoexec_fail[200]; | char autoexec_fail[200]; | ||||
| /** | |||||
| * Has there been an opengl deprecation call detected when running on a none OpenGL backend. | |||||
| */ | |||||
| bool opengl_deprecation_usage_detected; | |||||
| } Global; | } Global; | ||||
| /* **************** GLOBAL ********************* */ | /* **************** GLOBAL ********************* */ | ||||
| /** #Global.f */ | /** #Global.f */ | ||||
| enum { | enum { | ||||
| G_FLAG_RENDER_VIEWPORT = (1 << 0), | G_FLAG_RENDER_VIEWPORT = (1 << 0), | ||||
| G_FLAG_PICKSEL = (1 << 2), | G_FLAG_PICKSEL = (1 << 2), | ||||
| ▲ Show 20 Lines • Show All 123 Lines • Show Last 20 Lines | |||||