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:
2020-07-06 22:52:29 +10:00
parent ffaf294c3f
commit 20446f07f6

View File

@@ -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,