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>2007-09-21 14:28:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-09-21 14:28:04 +0400
commit3b4d74de38d87e6db1e2bb8e7cc2d411209dfa7b (patch)
tree121522ffe3cc7b49f9f19472c5413e61bae7a882 /source/blender/makesdna/DNA_space_types.h
parent9dcf337e93e02300e66739bb647031c94551a10d (diff)
added draw types for UVs
speedup for UV display (the MTFace loopup is only done once and stored in the EditFaces temp pointer)
Diffstat (limited to 'source/blender/makesdna/DNA_space_types.h')
-rw-r--r--source/blender/makesdna/DNA_space_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index b6dbb3b9b98..545e115300c 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -238,12 +238,14 @@ typedef struct SpaceImage {
short imtypenr, lock;
short showspare, pin;
float zoom;
+ char dt_uv; char pad[7]; /* UV draw type */
float xof, yof; /* user defined offset, image is centered */
float centx, centy; /* storage for offset while render drawing */
char *info_str, *info_spare; /* info string for render */
struct ImBuf *spare;
+
} SpaceImage;
typedef struct SpaceNla{
@@ -485,6 +487,7 @@ typedef struct SpaceImaSel {
/* this means that the image is drawn until it reaches the view edge,
* in the image view, its unrelated to the 'tile' mode for texface */
#define SI_DRAW_TILE 1<<19
+#define SI_SMOOTH_UV 1<<20
/* SpaceText flags (moved from DNA_text_types.h) */