Three little fixes as reported by Campbell;

- 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...
This commit is contained in:
Ton Roosendaal 2004-12-01 22:35:42 +00:00
parent fdf3b12682
commit 8fc85d9c8f
3 changed files with 2 additions and 2 deletions

@ -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();

@ -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;
}

@ -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 */