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
This commit is contained in:
parent
3883a88d4e
commit
d8e88572dd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user