Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_object_types.h
| Show First 20 Lines • Show All 170 Lines • ▼ Show 20 Lines | typedef struct Object_Runtime { | ||||
| * It created when Python calls `object.to_mesh()`. */ | * It created when Python calls `object.to_mesh()`. */ | ||||
| struct Mesh *object_as_temp_mesh; | struct Mesh *object_as_temp_mesh; | ||||
| /** Runtime evaluated curve-specific data, not stored in the file. */ | /** Runtime evaluated curve-specific data, not stored in the file. */ | ||||
| struct CurveCache *curve_cache; | struct CurveCache *curve_cache; | ||||
| /** Runtime grease pencil drawing data */ | /** Runtime grease pencil drawing data */ | ||||
| struct GpencilBatchCache *gpencil_cache; | struct GpencilBatchCache *gpencil_cache; | ||||
| /** Runtime grease pencil total layers used for derived data created by modifiers */ | |||||
| int tot_layers; | |||||
| char _pad4[4]; | |||||
| /** Runtime grease pencil derived data created by modifiers */ | |||||
| struct bGPDframe *derived_frames; | |||||
brecht: Add a `gpencil_` prefix to `tot_layers` and `derived_frames`. | |||||
antoniovAuthorUnsubmitted Done Inline ActionsI will rename them. antoniov: I will rename them. | |||||
| void *_pad2; /* Padding is here for win32s unconventional struct alignment rules. */ | void *_pad2; /* Padding is here for win32s unconventional struct alignment rules. */ | ||||
| } Object_Runtime; | } Object_Runtime; | ||||
| typedef struct Object { | typedef struct Object { | ||||
| ID id; | ID id; | ||||
| /** Animation data (must be immediately after id for utilities to use it). */ | /** Animation data (must be immediately after id for utilities to use it). */ | ||||
| struct AnimData *adt; | struct AnimData *adt; | ||||
| ▲ Show 20 Lines • Show All 510 Lines • Show Last 20 Lines | |||||
Add a gpencil_ prefix to tot_layers and derived_frames.