[Bf-blender-cvs] [f0d843c] missing-libs: Sort placeholder in its listbase!
Bastien Montagne
noreply at git.blender.org
Mon Sep 21 21:27:15 CEST 2015
Commit: f0d843cf56701135bb88f2b20be175f06574dfec
Author: Bastien Montagne
Date: Mon Sep 21 21:25:28 2015 +0200
Branches: missing-libs
https://developer.blender.org/rBf0d843cf56701135bb88f2b20be175f06574dfec
Sort placeholder in its listbase!
===================================================================
M source/blender/blenloader/intern/readfile.c
===================================================================
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 7325867..dee8c54 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -9576,6 +9576,7 @@ static ID *create_placeholder(Main *mainvar, const short idcode, const char *nam
ph_id->icon_id = 0;
BLI_addtail(lb, ph_id);
+ id_sort_by_name(lb, ph_id);
return ph_id;
}
More information about the Bf-blender-cvs
mailing list