fixed bugs:

- faceselect mode works again
- selecting vertices for lattices, surfaces and curves works again
- in previewrender sometimes a square was drawn, which was texture-crop
This commit is contained in:
2003-10-21 12:23:38 +00:00
parent 0d1f7f1c72
commit 2da9cb5db2
3 changed files with 7 additions and 1 deletions

View File

@@ -801,6 +801,7 @@ void calc_lattverts_ext(void)
{
areawinset(curarea->win);
persp(PERSP_VIEW);
mymultmatrix(G.obedit->obmat);
calc_lattverts();
myloadmatrix(G.vd->viewmat);
@@ -1025,6 +1026,7 @@ void calc_nurbverts_ext(void)
{
areawinset(curarea->win);
persp(PERSP_VIEW);
mymultmatrix(G.obedit->obmat);
calc_Nurbverts(editNurb.first);
myloadmatrix(G.vd->viewmat);

View File

@@ -766,6 +766,9 @@ void backdrawview3d(int test)
return;
}
}
persp(PERSP_VIEW);
#ifdef __APPLE__
glDrawBuffer(GL_AUX0);
#endif

View File

@@ -1094,6 +1094,7 @@ void BIF_previewrender(SpaceButs *sbuts)
}
if(sbuts->cury>=PR_RECTY && tex)
if (sbuts->tab[CONTEXT_SHADING]==TAB_SHADING_TEX)
draw_tex_crop(sbuts->lockpoin);
glDrawBuffer(GL_BACK);