Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_object_types.h
| Show All 32 Lines | |||||
| #include "DNA_listBase.h" | #include "DNA_listBase.h" | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| struct AnimData; | struct AnimData; | ||||
| struct BoundBox; | struct BoundBox; | ||||
| struct Curve; | |||||
| struct FluidsimSettings; | struct FluidsimSettings; | ||||
| struct GeometrySet; | struct GeometrySet; | ||||
| struct Ipo; | struct Ipo; | ||||
| struct Material; | struct Material; | ||||
| struct Mesh; | struct Mesh; | ||||
| struct Object; | struct Object; | ||||
| struct PartDeflect; | struct PartDeflect; | ||||
| struct Path; | struct Path; | ||||
| ▲ Show 20 Lines • Show All 132 Lines • ▼ Show 20 Lines | typedef struct Object_Runtime { | ||||
| struct bGPdata *gpd_eval; | struct bGPdata *gpd_eval; | ||||
| /** | /** | ||||
| * This is a mesh representation of corresponding object. | * This is a mesh representation of corresponding object. | ||||
| * 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; | ||||
| /** | |||||
| * This is a curve representation of corresponding object. | |||||
| * It created when Python calls `object.to_curve()`. | |||||
| */ | |||||
| struct Curve *object_as_temp_curve; | |||||
| /** 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; | ||||
| unsigned short local_collections_bits; | unsigned short local_collections_bits; | ||||
| short _pad2[3]; | short _pad2[3]; | ||||
| } Object_Runtime; | } Object_Runtime; | ||||
| typedef struct Object { | typedef struct Object { | ||||
| ▲ Show 20 Lines • Show All 421 Lines • ▼ Show 20 Lines | |||||
| #define BA_TEMP_TAG (1 << 5) | #define BA_TEMP_TAG (1 << 5) | ||||
| /** | /** | ||||
| * Even if this is tagged for transform, this flag means it's being locked in place. | * Even if this is tagged for transform, this flag means it's being locked in place. | ||||
| * Use for #SCE_XFORM_SKIP_CHILDREN. | * Use for #SCE_XFORM_SKIP_CHILDREN. | ||||
| */ | */ | ||||
| #define BA_TRANSFORM_LOCKED_IN_PLACE (1 << 7) | #define BA_TRANSFORM_LOCKED_IN_PLACE (1 << 7) | ||||
| #define BA_TRANSFORM_CHILD (1 << 8) /* child of a transformed object */ | #define BA_TRANSFORM_CHILD (1 << 8) /* child of a transformed object */ | ||||
| #define BA_TRANSFORM_PARENT (1 << 13) /* parent of a transformed object */ | #define BA_TRANSFORM_PARENT (1 << 13) /* parent of a transformed object */ | ||||
| #define OB_FROMDUPLI (1 << 9) | #define OB_FROMDUPLI (1 << 9) | ||||
| #define OB_DONE (1 << 10) /* unknown state, clear before use */ | #define OB_DONE (1 << 10) /* unknown state, clear before use */ | ||||
| #ifdef DNA_DEPRECATED_ALLOW | #ifdef DNA_DEPRECATED_ALLOW | ||||
| # define OB_FLAG_UNUSED_11 (1 << 11) /* cleared */ | # define OB_FLAG_UNUSED_11 (1 << 11) /* cleared */ | ||||
| # define OB_FLAG_UNUSED_12 (1 << 12) /* cleared */ | # define OB_FLAG_UNUSED_12 (1 << 12) /* cleared */ | ||||
| #endif | #endif | ||||
| ▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines | |||||