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-22 10:58:40 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-09-22 10:58:40 +0400
commit0ed3e0bb4f346410d3e021420159d91a26c67052 (patch)
tree878eb259205083bed1b91dd0c49e540df24b0445 /source/blender/makesdna/DNA_space_types.h
parent2244d19bc2ad65e9dca261a41f95501886a429fd (diff)
made sticky UV editing options more accessible by adding them to a popup in the header.
Changed how the sticky setting is stored in DNA - (as a char rather then 2 flags). replaced the UV/FACE icon with another needed for the sticky menu. removed 2 unused icons. commented the UV transform panel since it only had 2 buttons in it. depgraph update calls needed to be added to Ctrl+V/E/F menu's because some commands were crashing.
Diffstat (limited to 'source/blender/makesdna/DNA_space_types.h')
-rw-r--r--source/blender/makesdna/DNA_space_types.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index 545e115300c..c07d47dc658 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -238,7 +238,9 @@ typedef struct SpaceImage {
short imtypenr, lock;
short showspare, pin;
float zoom;
- char dt_uv; char pad[7]; /* UV draw type */
+ char dt_uv; /* UV draw type */
+ char sticky; /* sticky selection type */
+ char pad[6];
float xof, yof; /* user defined offset, image is centered */
float centx, centy; /* storage for offset while render drawing */
@@ -468,11 +470,11 @@ typedef struct SpaceImaSel {
#define SI_EDITTILE 1<<1
#define SI_CLIP_UV 1<<2
#define SI_DRAWTOOL 1<<3
-#define SI_STICKYUVS 1<<4
+#define SI_DEPRECATED1 1<<4 /* stick UVs to others in the same location */
#define SI_DRAWSHADOW 1<<5
#define SI_SELACTFACE 1<<6
-#define SI_DEPRECATED 1<<7
-#define SI_LOCALSTICKY 1<<8
+#define SI_DEPRECATED2 1<<7
+#define SI_DEPRECATED3 1<<8 /* stick UV selection to mesh vertex (UVs wont always be touching) */
#define SI_COORDFLOATS 1<<9
#define SI_PIXELSNAP 1<<10
#define SI_LIVE_UNWRAP 1<<11