mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Docs: update AddonPreferences comment on __package__ use in extensions
Ref: !127661
This commit is contained in:
parent
8af75d2fcc
commit
183112ad40
1 changed files with 2 additions and 2 deletions
|
|
@ -18,8 +18,8 @@ from bpy.props import StringProperty, IntProperty, BoolProperty
|
|||
|
||||
|
||||
class ExampleAddonPreferences(AddonPreferences):
|
||||
# this must match the add-on name, use '__package__'
|
||||
# when defining this in a submodule of a python package.
|
||||
# This must match the add-on name, use `__package__`
|
||||
# when defining this for add-on extensions or a sub-module of a python package.
|
||||
bl_idname = __name__
|
||||
|
||||
filepath: StringProperty(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue