diff options
author | Dalai Felinto <dalai@blender.org> | 2020-11-18 03:53:37 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-12-02 17:38:47 +0300 |
commit | 3d3a20d6d18afe691db631acc61a0c8251d12137 (patch) | |
tree | f3684728c87f52bea92f63a12bfb34a4544e905a /source/blender/makesrna | |
parent | dc614c68ef2c8ca8b076a000974b5a20a4145a42 (diff) |
Cleanup: remove most of "#ifdef WITH_GEOMETRY_NODES"
The ones around the simulation datablock are still there, since they are not
needed for the features planned for master yet.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/RNA_access.h | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_modifier.c | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h index bc25a404de8..f51202348b5 100644 --- a/source/blender/makesrna/RNA_access.h +++ b/source/blender/makesrna/RNA_access.h @@ -565,10 +565,8 @@ extern StructRNA RNA_ShrinkwrapModifier; extern StructRNA RNA_SimpleDeformModifier; extern StructRNA RNA_SimplifyGpencilModifier; extern StructRNA RNA_Simulation; -#ifdef WITH_GEOMETRY_NODES extern StructRNA RNA_NodesModifier; extern StructRNA RNA_NodesModifierSettings; -#endif extern StructRNA RNA_GeometryNode; extern StructRNA RNA_GeometryNodeTree; extern StructRNA RNA_SkinModifier; diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index 30d612d2634..2794029dae2 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -6952,7 +6952,6 @@ static void rna_def_modifier_weightednormal(BlenderRNA *brna) RNA_define_lib_overridable(false); } -# ifdef WITH_GEOMETRY_NODES static void rna_def_modifier_nodes_settings(BlenderRNA *brna) { StructRNA *srna; @@ -6991,7 +6990,6 @@ static void rna_def_modifier_nodes(BlenderRNA *brna) rna_def_modifier_nodes_settings(brna); } -# endif static void rna_def_modifier_mesh_to_volume(BlenderRNA *brna) { @@ -7356,9 +7354,7 @@ void RNA_def_modifier(BlenderRNA *brna) rna_def_modifier_meshseqcache(brna); rna_def_modifier_surfacedeform(brna); rna_def_modifier_weightednormal(brna); -# ifdef WITH_GEOMETRY_NODES rna_def_modifier_nodes(brna); -# endif rna_def_modifier_mesh_to_volume(brna); rna_def_modifier_volume_displace(brna); rna_def_modifier_volume_to_mesh(brna); |