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:
authorHans Goudey <h.goudey@me.com>2022-03-29 18:16:05 +0300
committerHans Goudey <h.goudey@me.com>2022-03-29 18:16:05 +0300
commit1f6c2507f80ce4330fd9ddad8b4ea62086008012 (patch)
tree51dc9a087bd6545f8f863c91f7467950ca7ce3ba /source/blender/makesrna
parentc4e4924096d1dcfd971aafbbf82d848a774b57db (diff)
Cleanup: Remove legacy dupli system from point cloud object
The "dupli" system now has a faster, more powerful, and more flexible alternative with geometry nodes. Since the point cloud objects haven't been exposed in the non-experimental UI yet, we can remove the dupli implementation and the panel for the object type. Differential Revision: https://developer.blender.org/D14482
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_object.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index 7164f24c2f7..0b39c8e27c7 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -200,12 +200,6 @@ static EnumPropertyItem instance_items_nogroup[] = {
{0, NULL, 0, NULL, NULL},
};
-static EnumPropertyItem instance_items_pointcloud[] = {
- {0, "NONE", 0, "None", ""},
- {OB_DUPLIVERTS, "POINTS", 0, "Points", "Instantiate child objects on all points"},
- {0, NULL, 0, NULL, NULL},
-};
-
static EnumPropertyItem instance_items_empty[] = {
{0, "NONE", 0, "None", ""},
INSTANCE_ITEM_COLLECTION,
@@ -760,9 +754,6 @@ static const EnumPropertyItem *rna_Object_instance_type_itemf(bContext *UNUSED(C
if (ob->type == OB_EMPTY) {
item = instance_items_empty;
}
- else if (ob->type == OB_POINTCLOUD) {
- item = instance_items_pointcloud;
- }
else if (ob->type == OB_FONT) {
item = instance_items_font;
}