Three little fixes as reported by Campbell;
authorTon Roosendaal <ton@blender.org>
Wed, 1 Dec 2004 22:35:42 +0000 (22:35 +0000)
committerTon Roosendaal <ton@blender.org>
Wed, 1 Dec 2004 22:35:42 +0000 (22:35 +0000)
- Mesh editmode; SHIFT+F fill didnt set default vertex color
- Parented spotlight had wrong (black) dashed line to parent when selected
- Constraint line draw while transform wasn't reset, causing sometimes to
  draw when using the (ugly) G.moving flag...

source/blender/src/drawobject.c
source/blender/src/editmesh_tools.c
source/blender/src/editobject.c

index 4445b9748ac2ce1b8d27256cf1d8e414188ca119..a9b41e7ebf42072517afde426903e876fca36dd9 100644 (file)
@@ -443,7 +443,6 @@ static void tekenshadbuflimits(Lamp *la, float mat[][4])
 
        glPointSize(3.0);
        bglBegin(GL_POINTS);
-       BIF_ThemeColor(TH_WIRE);
        bglVertex3fv(sta);
        bglVertex3fv(end);
        bglEnd();
index a8d605aebf9c5d4034568c205ac39b9d4bb959fd..cde1f9dba7984ef2248c6ba3af23749fb4b494c8 100644 (file)
@@ -1041,7 +1041,7 @@ void fill_mesh(void)
        if(ok) {
                efa= fillfacebase.first;
                while(efa) {
-                       efan= addfacelist(efa->v3->vn, efa->v2->vn, efa->v1->vn, 0, efa, NULL); // normals default pointing up
+                       efan= addfacelist(efa->v3->vn, efa->v2->vn, efa->v1->vn, 0, NULL, NULL); // normals default pointing up
                        EM_select_face(efan, 1);
                        efa= efa->next;
                }
index 98b234d4097df703b2804893a034d4108189e240..a5430267a2139fd72809505b684c33f616db5e76 100644 (file)
@@ -6678,6 +6678,7 @@ void transform(int mode)
        if(edge_creases) MEM_freeN(edge_creases);
        
        tottrans= 0;
+       set_constline_callback(0, 0, 0, NULL, NULL, NULL, NULL, NULL);  // disable
 
        /* undo after transform, since it's storing current situations */
        /* extrude has no own undo-push, so on cancel we still insert it */