From 9657279adabb6e6ed00b080f8e046b8e59986221 Mon Sep 17 00:00:00 2001 From: nutti Date: Sun, 12 Nov 2023 21:44:21 +0900 Subject: [PATCH] Fix: Missing __iter__ and __getitem__ method for BM*Seq class --- src/mods/common/analyzer/bmesh.json | 51 +++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 src/mods/common/analyzer/bmesh.json diff --git a/src/mods/common/analyzer/bmesh.json b/src/mods/common/analyzer/bmesh.json new file mode 100644 index 000000000..26e577acb --- /dev/null +++ b/src/mods/common/analyzer/bmesh.json @@ -0,0 +1,51 @@ +{ + "append": [ + { + "name": "BMElemSeq", + "type": "class", + "module": "bmesh.types", + "methods": [ + { + "name": "__iter__", + "type": "method", + "module": "bmesh.types", + "parameters": [], + "return": {} + } + ] + }, + { + "name": "BMVertSeq", + "type": "class", + "module": "bmesh.types", + "methods": [ + { + "name": "__iter__", + "type": "method", + "module": "bmesh.types", + "parameters": [], + "return": {} + }, + { + "name": "__getitem__", + "type": "method", + "module": "bmesh.types", + "parameters": [ + "key" + ], + "parameter_details": [ + { + "type": "parameter", + "name": "key", + "data_type": "int" + } + ], + "return": { + "type": "return", + "data_type": "`bmesh.types.BMVert`" + } + } + ] + }, + ] +} \ No newline at end of file