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:
@@ -443,7 +443,6 @@ static void tekenshadbuflimits(Lamp *la, float mat[][4])
|
|||||||
|
|
||||||
glPointSize(3.0);
|
glPointSize(3.0);
|
||||||
bglBegin(GL_POINTS);
|
bglBegin(GL_POINTS);
|
||||||
BIF_ThemeColor(TH_WIRE);
|
|
||||||
bglVertex3fv(sta);
|
bglVertex3fv(sta);
|
||||||
bglVertex3fv(end);
|
bglVertex3fv(end);
|
||||||
bglEnd();
|
bglEnd();
|
||||||
|
|||||||
@@ -1041,7 +1041,7 @@ void fill_mesh(void)
|
|||||||
if(ok) {
|
if(ok) {
|
||||||
efa= fillfacebase.first;
|
efa= fillfacebase.first;
|
||||||
while(efa) {
|
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);
|
EM_select_face(efan, 1);
|
||||||
efa= efa->next;
|
efa= efa->next;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6678,6 +6678,7 @@ void transform(int mode)
|
|||||||
if(edge_creases) MEM_freeN(edge_creases);
|
if(edge_creases) MEM_freeN(edge_creases);
|
||||||
|
|
||||||
tottrans= 0;
|
tottrans= 0;
|
||||||
|
set_constline_callback(0, 0, 0, NULL, NULL, NULL, NULL, NULL); // disable
|
||||||
|
|
||||||
/* undo after transform, since it's storing current situations */
|
/* undo after transform, since it's storing current situations */
|
||||||
/* extrude has no own undo-push, so on cancel we still insert it */
|
/* extrude has no own undo-push, so on cancel we still insert it */
|
||||||
|
|||||||
Reference in New Issue
Block a user