Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_object_types.h
| Show First 20 Lines • Show All 118 Lines • ▼ Show 20 Lines | |||||
| } LodLevel; | } LodLevel; | ||||
| struct CustomData_MeshMasks; | struct CustomData_MeshMasks; | ||||
| /* Not saved in file! */ | /* Not saved in file! */ | ||||
| typedef struct Object_Runtime { | typedef struct Object_Runtime { | ||||
| /** | /** | ||||
| * The custom data layer mask that was last used | * The custom data layer mask that was last used | ||||
| * to calculate mesh_eval and mesh_deform_eval. | * to calculate data_eval and mesh_deform_eval. | ||||
| */ | */ | ||||
| CustomData_MeshMasks last_data_mask; | CustomData_MeshMasks last_data_mask; | ||||
| /** Did last modifier stack generation need mapping support? */ | /** Did last modifier stack generation need mapping support? */ | ||||
| char last_need_mapping; | char last_need_mapping; | ||||
| char _pad0[3]; | char _pad0[3]; | ||||
| /** Only used for drawing the parent/child help-line. */ | /** Only used for drawing the parent/child help-line. */ | ||||
| float parent_display_origin[3]; | float parent_display_origin[3]; | ||||
| /** Selection id of this object; only available in the original object */ | /** Selection id of this object; only available in the original object */ | ||||
| int select_id; | int select_id; | ||||
| char _pad1[3]; | char _pad1[3]; | ||||
| /** | /** | ||||
| * Denotes whether the evaluated mesh is owned by this object or is referenced and owned by | * Denotes whether the evaluated data is owned by this object or is referenced and owned by | ||||
| * somebody else. | * somebody else. | ||||
| */ | */ | ||||
| char is_mesh_eval_owned; | char is_data_eval_owned; | ||||
| /** Axis aligned boundbox (in localspace). */ | /** Axis aligned boundbox (in localspace). */ | ||||
| struct BoundBox *bb; | struct BoundBox *bb; | ||||
| /** | /** | ||||
| * Original mesh pointer, before object->data was changed to point | * Original data pointer, before object->data was changed to point | ||||
| * to mesh_eval. | * to data_eval. | ||||
| * Is assigned by dependency graph's copy-on-write evaluation. | * Is assigned by dependency graph's copy-on-write evaluation. | ||||
| */ | */ | ||||
| struct Mesh *mesh_orig; | struct ID *data_orig; | ||||
| /** | /** | ||||
| * Mesh structure created during object evaluation. | * Object data structure created during object evaluation. | ||||
| * It has all modifiers applied. | * It has all modifiers applied. | ||||
| */ | */ | ||||
| struct Mesh *mesh_eval; | struct ID *data_eval; | ||||
| /** | /** | ||||
| * Mesh structure created during object evaluation. | * Mesh structure created during object evaluation. | ||||
| * It has deformation only modifiers applied on it. | * It has deformation only modifiers applied on it. | ||||
| */ | */ | ||||
| struct Mesh *mesh_deform_eval; | struct Mesh *mesh_deform_eval; | ||||
| /** | /** | ||||
| * This is a mesh representation of corresponding object. | * This is a mesh representation of corresponding object. | ||||
| ▲ Show 20 Lines • Show All 530 Lines • Show Last 20 Lines | |||||