From d8e88572dd519713e444dcf97c5ffde7df55d687 Mon Sep 17 00:00:00 2001 From: Steve-Paws Date: Tue, 10 Jun 2025 08:09:06 +0200 Subject: [PATCH] Fix: PyDocs: Syntax error in PointerProperty assignment syntax error on `info_overview` PyAPI docs page for property assignment Pull Request: https://projects.blender.org/blender/blender/pulls/140090 --- doc/python_api/rst/info_overview.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/python_api/rst/info_overview.rst b/doc/python_api/rst/info_overview.rst index 2e1efee9905..213f82ee875 100644 --- a/doc/python_api/rst/info_overview.rst +++ b/doc/python_api/rst/info_overview.rst @@ -371,7 +371,7 @@ For example, if you want to store material settings for a custom engine: def register(): bpy.utils.register_class(MyMaterialProps) - bpy.types.Material.my_custom_props: bpy.props.PointerProperty(type=MyMaterialProps) + bpy.types.Material.my_custom_props = bpy.props.PointerProperty(type=MyMaterialProps) def unregister(): del bpy.types.Material.my_custom_props @@ -402,7 +402,7 @@ For example, if you want to store material settings for a custom engine: def register(): bpy.utils.register_class(MyMaterialSubProps) bpy.utils.register_class(MyMaterialGroupProps) - bpy.types.Material.my_custom_props: bpy.props.PointerProperty(type=MyMaterialGroupProps) + bpy.types.Material.my_custom_props = bpy.props.PointerProperty(type=MyMaterialGroupProps) def unregister(): del bpy.types.Material.my_custom_props