[Bf-blender-cvs] [20446f07f6d] master: Docs: reference bl_rna_get_subclass_py instead of bl_rna_get_subclass
Campbell Barton
noreply at git.blender.org
Mon Jul 6 15:09:08 CEST 2020
Commit: 20446f07f6d88c4a4641c3248093c9be7b3751ab
Author: Campbell Barton
Date: Mon Jul 6 22:52:29 2020 +1000
Branches: master
https://developer.blender.org/rB20446f07f6d88c4a4641c3248093c9be7b3751ab
Docs: reference bl_rna_get_subclass_py instead of bl_rna_get_subclass
bl_rna_get_subclass only works for Nodes at the moment.
===================================================================
M doc/python_api/rst/info_overview.rst
===================================================================
diff --git a/doc/python_api/rst/info_overview.rst b/doc/python_api/rst/info_overview.rst
index 9676489950e..50928963f60 100644
--- a/doc/python_api/rst/info_overview.rst
+++ b/doc/python_api/rst/info_overview.rst
@@ -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,
More information about the Bf-blender-cvs
mailing list