From 8738a668d8209b41e7554b3711213b43800b3bd4 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Wed, 21 Oct 2020 13:47:50 +0200 Subject: Preferences: separate feature flags for geometry nodes and point cloud type Those two features are not directly related and one might be activated in master earlier than the other. WITH_PARTICLE_NODES was removed, because we continue the project under the name "Geometry Nodes". --- source/blender/makesrna/intern/rna_ID.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/makesrna/intern/rna_ID.c') diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c index 320476c22b1..a6084ae6a43 100644 --- a/source/blender/makesrna/intern/rna_ID.c +++ b/source/blender/makesrna/intern/rna_ID.c @@ -289,7 +289,7 @@ short RNA_type_to_ID_code(const StructRNA *type) if (base_type == &RNA_PaintCurve) { return ID_PC; } -# ifdef WITH_PARTICLE_NODES +# ifdef WITH_POINT_CLOUD if (base_type == &RNA_PointCloud) { return ID_PT; } @@ -303,7 +303,7 @@ short RNA_type_to_ID_code(const StructRNA *type) if (base_type == &RNA_Screen) { return ID_SCR; } -# ifdef WITH_PARTICLE_NODES +# ifdef WITH_GEOMETRY_NODES if (base_type == &RNA_Simulation) { return ID_SIM; } @@ -399,7 +399,7 @@ StructRNA *ID_code_to_RNA_type(short idcode) case ID_PC: return &RNA_PaintCurve; case ID_PT: -# ifdef WITH_PARTICLE_NODES +# ifdef WITH_POINT_CLOUD return &RNA_PointCloud; # else return &RNA_ID; @@ -411,7 +411,7 @@ StructRNA *ID_code_to_RNA_type(short idcode) case ID_SCR: return &RNA_Screen; case ID_SIM: -# ifdef WITH_PARTICLE_NODES +# ifdef WITH_GEOMETRY_NODES return &RNA_Simulation; # else return &RNA_ID; -- cgit v1.2.3