Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-09-15 17:41:38 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-15 17:41:38 +0400
commit84c40629283616cd11efb22d5865ace111b6c652 (patch)
tree669072299bf260d7f592d5ee4bf03c780c50cba7 /release/scripts/modules/bpy_types.py
parent1e291017ca5a8831bbdc5714c54573bb6de3fcf1 (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.py3
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 = []