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-04-19 13:52:32 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-19 13:52:32 +0300
commitda82269c58bd7ec1c0ebcb5e1433c731120ec389 (patch)
treed061121ad00e7bd76cd5b299f15e7dfcdbc6c068 /source/blender/blenkernel/BKE_icons.h
parent63225d7c8b3a45e8189476d537585b011993fb17 (diff)
Cleanup: rename Icon.type -> id_type
Confusing when adding non-id icons.
Diffstat (limited to 'source/blender/blenkernel/BKE_icons.h')
-rw-r--r--source/blender/blenkernel/BKE_icons.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_icons.h b/source/blender/blenkernel/BKE_icons.h
index c3f5d7bf7c2..686dba21283 100644
--- a/source/blender/blenkernel/BKE_icons.h
+++ b/source/blender/blenkernel/BKE_icons.h
@@ -39,7 +39,8 @@ typedef void (*DrawInfoFreeFP)(void *drawinfo);
struct Icon {
void *drawinfo;
void *obj;
- short type;
+ /** #ID_Type or 0 when not used for ID preview. */
+ short id_type;
DrawInfoFreeFP drawinfo_free;
};