Missing feature: Snap menu was not available in editmode.
Fixed compiler warning about ambiguous else in TKEY block.
This commit is contained in:
@@ -1249,6 +1249,8 @@ void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
|||||||
transform('N'); /* scale along normal */
|
transform('N'); /* scale along normal */
|
||||||
else if(G.qual==LR_CTRLKEY)
|
else if(G.qual==LR_CTRLKEY)
|
||||||
transform('S');
|
transform('S');
|
||||||
|
else if(G.qual==LR_SHIFTKEY)
|
||||||
|
snapmenu();
|
||||||
else if((G.qual==0))
|
else if((G.qual==0))
|
||||||
transform('s');
|
transform('s');
|
||||||
}
|
}
|
||||||
@@ -1261,7 +1263,7 @@ void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
|||||||
transform('s');
|
transform('s');
|
||||||
break;
|
break;
|
||||||
case TKEY:
|
case TKEY:
|
||||||
if(G.obedit)
|
if(G.obedit){
|
||||||
if((G.qual==LR_CTRLKEY) && G.obedit->type==OB_MESH) {
|
if((G.qual==LR_CTRLKEY) && G.obedit->type==OB_MESH) {
|
||||||
convert_to_triface(0);
|
convert_to_triface(0);
|
||||||
allqueue(REDRAWVIEW3D, 0);
|
allqueue(REDRAWVIEW3D, 0);
|
||||||
@@ -1272,6 +1274,7 @@ void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
|||||||
clear_tilt();
|
clear_tilt();
|
||||||
else if((G.qual==0))
|
else if((G.qual==0))
|
||||||
transform('t');
|
transform('t');
|
||||||
|
}
|
||||||
else if(G.qual==LR_CTRLKEY) {
|
else if(G.qual==LR_CTRLKEY) {
|
||||||
make_track();
|
make_track();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user