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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2007-02-10 17:38:50 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2007-02-10 17:38:50 +0300
commitde0e9d8b20de768f1cc33d77c185266f1cbe664d (patch)
tree36ca193171679af2fed7db5d65324e342f893a37
parentf26e67e9d62ce8392cb3ff76d1a0e4e5800e6b1d (diff)
Fix for bug #5975:
Clear location and rotation confirmation dialogs were shown in edit mode but did nothing. These should be disabled in edit mode.
-rw-r--r--source/blender/src/space.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index 19326e0ef18..4162f37e7d6 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -1732,7 +1732,7 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
select_mesh_group_menu();
} else
select_object_grouped_menu();
- else if(G.qual==LR_ALTKEY) {
+ else if((G.obedit==0) && G.qual==LR_ALTKEY) {
if(okee("Clear location")) {
clear_object('g');
}
@@ -2039,7 +2039,7 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
case RKEY:
if((G.obedit==0) && (G.f & G_FACESELECT) && (G.qual==0) && !(G.f & G_WEIGHTPAINT))
rotate_uv_tface();
- else if(G.qual==LR_ALTKEY) {
+ else if((G.obedit==0) && G.qual==LR_ALTKEY) {
if(okee("Clear rotation")) {
clear_object('r');
}