From 5472557466336ca5830d06e4d81a978147fbf507 Mon Sep 17 00:00:00 2001 From: Joseph HENRY Date: Wed, 1 Apr 2026 18:40:46 +0200 Subject: [PATCH] Widen bpy.msgbus key param to accept any RNA-backed object subscribe_rna and publish_rna accept any RNA-backed Python object as key (Vector, Euler, type objects, bl_rna, etc.), not just Property | Struct. Co-Authored-By: Claude Opus 4.6 (1M context) --- overrides/5.1/bpy.msgbus.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 overrides/5.1/bpy.msgbus.json diff --git a/overrides/5.1/bpy.msgbus.json b/overrides/5.1/bpy.msgbus.json new file mode 100644 index 0000000..5aaf224 --- /dev/null +++ b/overrides/5.1/bpy.msgbus.json @@ -0,0 +1,12 @@ +{ + "subscribe_rna": { + "params": { + "key": "bpy.types.Property | bpy.types.Struct | tuple[bpy.types.Struct, str] | object" + } + }, + "publish_rna": { + "params": { + "key": "bpy.types.Property | bpy.types.Struct | tuple[bpy.types.Struct, str] | object" + } + } +}