Page MenuHome

TKeySmooth.patch

TKeySmooth.patch

Index: source/blender/src/space.c
===================================================================
--- source/blender/src/space.c (revision 12255)
+++ source/blender/src/space.c (working copy)
@@ -2335,14 +2335,19 @@
G.vd->flag2 ^= V3D_SOLID_TEX;
allqueue(REDRAWVIEW3D, 0);
} else if(G.obedit){
- if((G.qual & LR_CTRLKEY) && G.obedit->type==OB_MESH) {
- convert_to_triface(G.qual & LR_SHIFTKEY);
- allqueue(REDRAWVIEW3D, 0);
- if (EM_texFaceCheck())
- allqueue(REDRAWIMAGE, 0);
+ if(G.obedit->type==OB_MESH) {
+ if(G.qual & LR_CTRLKEY) {
+ convert_to_triface(G.qual & LR_SHIFTKEY);
+ allqueue(REDRAWVIEW3D, 0);
+ if (EM_texFaceCheck())
+ allqueue(REDRAWIMAGE, 0);
- countall();
- DAG_object_flush_update(G.scene, G.obedit, OB_RECALC_DATA);
+ countall();
+ DAG_object_flush_update(G.scene, G.obedit, OB_RECALC_DATA);
+ } else if (G.qual==0) {
+ vertexsmooth();
+ allqueue(REDRAWVIEW3D, 0);
+ }
}
if (G.obedit->type==OB_CURVE) {
if (G.qual==LR_ALTKEY) {

File Metadata

Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c3/23/f68c5fc00981334974e31b65cacf

Event Timeline