Docs: update AddonPreferences comment on __package__ use in extensions
Ref: !127661
This commit is contained in:
committed by
Campbell Barton
parent
8af75d2fcc
commit
183112ad40
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user