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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-08-01 19:42:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-01 19:42:22 +0400
commit7e555711752cd00ed0d613f3c89a457512031b12 (patch)
treefaed448ca3d031d0a9ba4050f91bbc634656d159 /source
parenta3e58a951ac94741f74efa3e6a67d219216bb78d (diff)
bugfix [#23134] uv project modifier not working.
own recent commit introduced this bug. would like to have this working correctly but for now commenting.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/interface/interface_layout.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c
index b6f4dcc0356..c56b3c31222 100644
--- a/source/blender/editors/interface/interface_layout.c
+++ b/source/blender/editors/interface/interface_layout.c
@@ -1115,7 +1115,11 @@ static void rna_search_cb(const struct bContext *C, void *arg_but, char *str, ui
ID *id= itemptr.data;
char name_ui[32];
+#if 0 /* this name is used for a string comparison and can't be modified, TODO */
name_uiprefix_id(name_ui, id);
+#else
+ strcpy(name_ui, id->name+2);
+#endif
name= BLI_strdup(name_ui);
iconid= ui_id_icon_get((bContext*)C, id, 1);
}