Fix for [#34901] "Add SSS Preset" gives error.
* Mark Preset operator as 'Internal' only, so it does not show up inside the search menu. We cannot be sure if we meet the context requirements otherwise (unless we add a poll to each subclass).
This commit is contained in:
parent
858ff6b696
commit
279a2796ba
@ -30,7 +30,7 @@ class AddPresetBase():
|
||||
- preset_subdir """
|
||||
# bl_idname = "script.preset_base_add"
|
||||
# bl_label = "Add a Python Preset"
|
||||
bl_options = {'REGISTER'} # only because invoke_props_popup requires.
|
||||
bl_options = {'REGISTER', 'INTERNAL'} # only because invoke_props_popup requires. Also do not add to search menu.
|
||||
|
||||
name = StringProperty(
|
||||
name="Name",
|
||||
|
Loading…
Reference in New Issue
Block a user