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:
@@ -248,7 +248,7 @@ using the ``bl_idname`` rather than the classes original name.
|
|||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
There are some exceptions to this for class names which aren't guarantee to be unique.
|
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,
|
When loading a class, Blender performs sanity checks making sure all required properties and functions are found,
|
||||||
|
|||||||
Reference in New Issue
Block a user