Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_fileglobal_types.h
| Show All 23 Lines | typedef struct FileGlobal { | ||||
| char _pad[6]; | char _pad[6]; | ||||
| struct bScreen *curscreen; | struct bScreen *curscreen; | ||||
| struct Scene *curscene; | struct Scene *curscene; | ||||
| struct ViewLayer *cur_view_layer; | struct ViewLayer *cur_view_layer; | ||||
| void *_pad1; | void *_pad1; | ||||
| int fileflags; | int fileflags; | ||||
| int globalf; | int globalf; | ||||
| /** Commit timestamp from buildinfo. */ | /** Commit timestamp from `buildinfo`. */ | ||||
| uint64_t build_commit_timestamp; | uint64_t build_commit_timestamp; | ||||
| /** Hash from buildinfo. */ | /** Hash from `buildinfo`. */ | ||||
| char build_hash[16]; | char build_hash[16]; | ||||
| /** File path where this was saved, for recover (1024 = FILE_MAX). */ | /** File path where this was saved, for recover (1024 = FILE_MAX). */ | ||||
| char filepath[1024]; | char filepath[1024]; | ||||
| } FileGlobal; | } FileGlobal; | ||||
| /* minversion: in file, the oldest past blender version you can use compliant */ | /* minversion: in file, the oldest past blender version you can use compliant */ | ||||
| /* example: if in 2.43 the meshes lose mesh data, minversion is 2.43 then too */ | /* example: if in 2.43 the meshes lose mesh data, minversion is 2.43 then too */ | ||||
| /* or: in 2.42, subversion 1, same as above, minversion then is 2.42, min subversion 1 */ | /* or: in 2.42, subversion 1, same as above, minversion then is 2.42, min subversion 1 */ | ||||
| /* (defines for version are in the BKE_blender_version.h file, for historic reasons) */ | /* (defines for version are in the BKE_blender_version.h file, for historic reasons) */ | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||