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:
authorTon Roosendaal <ton@blender.org>2009-06-24 20:44:54 +0400
committerTon Roosendaal <ton@blender.org>2009-06-24 20:44:54 +0400
commit627abe0acf2b52d06fc26e93462f5261cf508879 (patch)
tree75570a4492b4e35aebdab06a633da73bf016ecb2 /source/blender/windowmanager
parent5b26f520bb50f17b0a2193daf9b8b10616c4707b (diff)
2.5
Added support for icons in search menu. It already displays icons for saved materials etc. from old files. Have to add previewrenders for this still.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index 33f4ff11679..76a7b18fa12 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -402,7 +402,7 @@ static void operator_search_cb(const struct bContext *C, void *arg, char *str, u
name[len]= '|';
}
- if(0==uiSearchItemAdd(items, name, ot))
+ if(0==uiSearchItemAdd(items, name, ot, 0))
break;
}
}