Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_object.c
| Show First 20 Lines • Show All 573 Lines • ▼ Show 20 Lines | case OB_GPENCIL: | ||||
| return &RNA_GreasePencil; | return &RNA_GreasePencil; | ||||
| case OB_HAIR: | case OB_HAIR: | ||||
| # ifdef WITH_HAIR_NODES | # ifdef WITH_HAIR_NODES | ||||
| return &RNA_Hair; | return &RNA_Hair; | ||||
| # else | # else | ||||
| return &RNA_ID; | return &RNA_ID; | ||||
| # endif | # endif | ||||
| case OB_POINTCLOUD: | case OB_POINTCLOUD: | ||||
| # ifdef WITH_POINT_CLOUD | |||||
| return &RNA_PointCloud; | return &RNA_PointCloud; | ||||
| # else | |||||
| return &RNA_ID; | |||||
| # endif | |||||
| case OB_VOLUME: | case OB_VOLUME: | ||||
| return &RNA_Volume; | return &RNA_Volume; | ||||
| default: | default: | ||||
| return &RNA_ID; | return &RNA_ID; | ||||
| } | } | ||||
| } | } | ||||
| static bool rna_Object_data_poll(PointerRNA *ptr, const PointerRNA value) | static bool rna_Object_data_poll(PointerRNA *ptr, const PointerRNA value) | ||||
| ▲ Show 20 Lines • Show All 2,827 Lines • Show Last 20 Lines | |||||