Page Menu
Home
Search
Configure Global Search
Log In
Files
F4638
TKeySmooth.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
bassam kurdali (bassamk)
Nov 13 2013, 1:17 PM
Size
1 KB
Subscribers
None
TKeySmooth.patch
View Options
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
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c3/23/f68c5fc00981334974e31b65cacf
Event Timeline
Log In to Comment