Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-03-22 14:23:25 +0300
committerJacques Lucke <jacques@blender.org>2021-03-22 14:23:25 +0300
commitc4c195672ddd5ab4ce912a3568974135a960f782 (patch)
tree4db1a94b3cafef93171650772405eb7879301115 /source/blender/makesrna
parent77887f95cce06540dc5dcdb652546b798e826546 (diff)
Cleanup: remove unexposed nodes
Those nodes are leftovers from my work on particle nodes and are not needed currently. They can be added back easily if they become necessary.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_nodetree.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index fc1f692a8bf..a46c9a6fe40 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -91,20 +91,6 @@ static const EnumPropertyItem node_socket_type_items[] = {
{0, NULL, 0, NULL, NULL},
};
-static const EnumPropertyItem node_socket_data_type_items[] = {
- {SOCK_FLOAT, "FLOAT", 0, "Float", ""},
- {SOCK_INT, "INT", 0, "Int", ""},
- {SOCK_BOOLEAN, "BOOLEAN", 0, "Boolean", ""},
- {SOCK_VECTOR, "VECTOR", 0, "Vector", ""},
- {SOCK_STRING, "STRING", 0, "String", ""},
- {SOCK_RGBA, "RGBA", 0, "Color", ""},
- {SOCK_OBJECT, "OBJECT", 0, "Object", ""},
- {SOCK_IMAGE, "IMAGE", 0, "Image", ""},
- {SOCK_GEOMETRY, "GEOMETRY", 0, "Geometry", ""},
- {SOCK_COLLECTION, "COLLECTION", 0, "Collection", ""},
- {0, NULL, 0, NULL, NULL},
-};
-
static const EnumPropertyItem node_quality_items[] = {
{NTREE_QUALITY_HIGH, "HIGH", 0, "High", "High quality"},
{NTREE_QUALITY_MEDIUM, "MEDIUM", 0, "Medium", "Medium quality"},
@@ -4601,17 +4587,6 @@ static void def_float_compare(StructRNA *srna)
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_socket_update");
}
-static void def_fn_switch(StructRNA *srna)
-{
- PropertyRNA *prop;
-
- prop = RNA_def_property(srna, "data_type", PROP_ENUM, PROP_NONE);
- RNA_def_property_enum_sdna(prop, NULL, "custom1");
- RNA_def_property_enum_items(prop, node_socket_data_type_items);
- RNA_def_property_ui_text(prop, "Data Type", "Data type for inputs and outputs");
- RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_socket_update");
-}
-
static void def_vector_math(StructRNA *srna)
{
PropertyRNA *prop;