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>2018-12-02 07:09:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-02 07:09:15 +0300
commit925380050d026e8948cb5d72c5b68a796744a5b4 (patch)
tree32cdf8e0d2f4a879f2d5d513d2c304d6bf225c2b /source/blender
parent55b31dd98ce592ef4e51a9f9edece9ade7c519db (diff)
Keymap: fix error in recent enum-menu support
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/interface/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index 82238744205..6efd6acf59d 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -1198,7 +1198,7 @@ static bool ui_but_event_property_operator_string(
}
/* we have a datapath! */
- if (data_path || prop_enum_value_id) {
+ if (data_path || (prop_enum_value_ok && prop_enum_value_id)) {
/* create a property to host the "datapath" property we're sending to the operators */
IDProperty *prop_path;