diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-15 17:41:38 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-15 17:41:38 +0400 |
commit | 84c40629283616cd11efb22d5865ace111b6c652 (patch) | |
tree | 669072299bf260d7f592d5ee4bf03c780c50cba7 /release/scripts/modules/bpy_types.py | |
parent | 1e291017ca5a8831bbdc5714c54573bb6de3fcf1 (diff) |
bugfix [#23833] Console Errors (Keymaps)
dont allow non-existing preset paths to be passed to the preset menu.
Diffstat (limited to 'release/scripts/modules/bpy_types.py')
-rw-r--r-- | release/scripts/modules/bpy_types.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index 80309b0d91e..261165d8830 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -739,6 +739,9 @@ class Menu(StructRNA, _GenericUI, metaclass=RNAMeta): import bpy.utils layout = self.layout + + if not searchpaths: + layout.label("* Missing Paths *") # collect paths files = [] |