Docs: reference bl_rna_get_subclass_py instead of bl_rna_get_subclass
bl_rna_get_subclass only works for Nodes at the moment.
This commit is contained in:
parent
ffaf294c3f
commit
20446f07f6
|
@ -248,7 +248,7 @@ using the ``bl_idname`` rather than the classes original name.
|
|||
.. note::
|
||||
|
||||
There are some exceptions to this for class names which aren't guarantee to be unique.
|
||||
In this case use: :func:`bpy.types.Struct.bl_rna_get_subclass`.
|
||||
In this case use: :func:`bpy.types.Struct.bl_rna_get_subclass_py`.
|
||||
|
||||
|
||||
When loading a class, Blender performs sanity checks making sure all required properties and functions are found,
|
||||
|
|
Loading…
Reference in New Issue