[tuhopuu-devel] Suggestions for Knife subdivide

Kester Maddock tuhopuu-devel@blender.org
Sun, 12 Oct 2003 18:54:18 +1300


Hi,

Just two suggestions for this tool...
1. Make RMB end knifing (like pressing Enter) since it's not doing 
anything else.
Kinda like this, if it doesn't break anything else:
Index: editmesh.c
===================================================================
RCS file: /cvsroot/tuhopuu/tuhopuu2/source/blender/src/editmesh.c,v
retrieving revision 1.26
diff -u -r1.26 editmesh.c
--- editmesh.c  10 Oct 2003 00:16:34 -0000      1.26
+++ editmesh.c  12 Oct 2003 05:55:23 -0000
@@ -6842,6 +6842,8 @@
        glDrawBuffer(GL_FRONT);
        persp(0);
        while(((event=extern_qread(&val)) != RETKEY )){
+               if (event == RIGHTMOUSE)
+                       break;
                                        /* Second KKEY indicates finish */
                if (event==ESCKEY){
                        for(j=1;j<i;j++) sdrawXORline(curve[j-1].x, 
curve[j-1].y, curve[j].x, curve[j].y );




2. Port it to bf-blender (once Ton's finished his stuff ;) )

Kester