Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_ID.c
| Show First 20 Lines • Show All 283 Lines • ▼ Show 20 Lines | if (base_type == &RNA_ParticleSettings) { | ||||
| return ID_PA; | return ID_PA; | ||||
| } | } | ||||
| if (base_type == &RNA_Palette) { | if (base_type == &RNA_Palette) { | ||||
| return ID_PAL; | return ID_PAL; | ||||
| } | } | ||||
| if (base_type == &RNA_PaintCurve) { | if (base_type == &RNA_PaintCurve) { | ||||
| return ID_PC; | return ID_PC; | ||||
| } | } | ||||
| # ifdef WITH_POINT_CLOUD | |||||
| if (base_type == &RNA_PointCloud) { | if (base_type == &RNA_PointCloud) { | ||||
| return ID_PT; | return ID_PT; | ||||
| } | } | ||||
| # endif | |||||
| if (base_type == &RNA_LightProbe) { | if (base_type == &RNA_LightProbe) { | ||||
| return ID_LP; | return ID_LP; | ||||
| } | } | ||||
| if (base_type == &RNA_Scene) { | if (base_type == &RNA_Scene) { | ||||
| return ID_SCE; | return ID_SCE; | ||||
| } | } | ||||
| if (base_type == &RNA_Screen) { | if (base_type == &RNA_Screen) { | ||||
| return ID_SCR; | return ID_SCR; | ||||
| ▲ Show 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | case ID_OB: | ||||
| return &RNA_Object; | return &RNA_Object; | ||||
| case ID_PA: | case ID_PA: | ||||
| return &RNA_ParticleSettings; | return &RNA_ParticleSettings; | ||||
| case ID_PAL: | case ID_PAL: | ||||
| return &RNA_Palette; | return &RNA_Palette; | ||||
| case ID_PC: | case ID_PC: | ||||
| return &RNA_PaintCurve; | return &RNA_PaintCurve; | ||||
| case ID_PT: | case ID_PT: | ||||
| # ifdef WITH_POINT_CLOUD | |||||
| return &RNA_PointCloud; | return &RNA_PointCloud; | ||||
| # else | |||||
| return &RNA_ID; | |||||
| # endif | |||||
| case ID_LP: | case ID_LP: | ||||
| return &RNA_LightProbe; | return &RNA_LightProbe; | ||||
| case ID_SCE: | case ID_SCE: | ||||
| return &RNA_Scene; | return &RNA_Scene; | ||||
| case ID_SCR: | case ID_SCR: | ||||
| return &RNA_Screen; | return &RNA_Screen; | ||||
| case ID_SIM: | case ID_SIM: | ||||
| # ifdef WITH_GEOMETRY_NODES | # ifdef WITH_GEOMETRY_NODES | ||||
| ▲ Show 20 Lines • Show All 1,307 Lines • Show Last 20 Lines | |||||