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:
authorBastien Montagne <montagne29@wanadoo.fr>2015-08-10 16:41:28 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-08-10 16:41:28 +0300
commit0c82ba4213577c1b02b2060888f8c43c265c1637 (patch)
tree870d6cdf52b97cd199c8ec8000d7cbbb029465bb /source/blender/blenkernel/intern/icons.c
parentd70ffd375fdf444f50a693f74ca79fe248337cda (diff)
Data previews: add preview to Object, Group and Scene.
This commit does not add anything yet to users, it’s purely internal one. Useful commit is next. ;)
Diffstat (limited to 'source/blender/blenkernel/intern/icons.c')
-rw-r--r--source/blender/blenkernel/intern/icons.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/icons.c b/source/blender/blenkernel/intern/icons.c
index 7696249f2de..2171f193bac 100644
--- a/source/blender/blenkernel/intern/icons.c
+++ b/source/blender/blenkernel/intern/icons.c
@@ -37,8 +37,11 @@
#include "MEM_guardedalloc.h"
+#include "DNA_group_types.h"
#include "DNA_lamp_types.h"
#include "DNA_material_types.h"
+#include "DNA_object_types.h"
+#include "DNA_scene_types.h"
#include "DNA_texture_types.h"
#include "DNA_world_types.h"
#include "DNA_brush_types.h"
@@ -228,6 +231,9 @@ PreviewImage **BKE_previewimg_id_get_p(ID *id)
ID_PRV_CASE(ID_LA, Lamp);
ID_PRV_CASE(ID_IM, Image);
ID_PRV_CASE(ID_BR, Brush);
+ ID_PRV_CASE(ID_OB, Object);
+ ID_PRV_CASE(ID_GR, Group);
+ ID_PRV_CASE(ID_SCE, Scene);
#undef ID_PRV_CASE
}