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-25 11:42:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-09-25 11:42:55 +0400
commitea32119d0b81260c5c58e66240d0c107c336f0b9 (patch)
treec499a39b2a0cca75ad2e1af8983627dd5a452cc0 /source/blender/src/space.c
parent7658066fe95677dfe5ff8aaff9f4f9458a5d01a9 (diff)
snap transform for UV editing, missing the draw circle at the moment.
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r--source/blender/src/space.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index 82807c0382f..8563a0f634f 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -4954,6 +4954,12 @@ static void winqreadimagespace(ScrArea *sa, void *spacedata, BWinEvent *evt)
G.sima->flag ^= SI_LOCAL_UV;
scrarea_queue_winredraw(curarea);
break;
+ case TABKEY:
+ if (G.qual == LR_SHIFTKEY) {
+ G.scene->snap_flag ^= SCE_SNAP;
+ allqueue(REDRAWHEADERS, 0);
+ }
+ break;
}
}
} else {