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) <noreply@anthropic.com>
This commit is contained in:
parent
3d0c8f74be
commit
5472557466
12
overrides/5.1/bpy.msgbus.json
Normal file
12
overrides/5.1/bpy.msgbus.json
Normal file
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user