fix for bug 4819
.
This commit is contained in:
@@ -122,7 +122,7 @@
|
|||||||
/* returns 0 if not found, otherwise 1 */
|
/* returns 0 if not found, otherwise 1 */
|
||||||
int facesel_face_pick(Mesh *me, short *mval, unsigned int *index, short rect)
|
int facesel_face_pick(Mesh *me, short *mval, unsigned int *index, short rect)
|
||||||
{
|
{
|
||||||
if (!me->tface || me->totface==0)
|
if (!me || !me->tface || me->totface==0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (G.vd->flag & V3D_NEEDBACKBUFDRAW) {
|
if (G.vd->flag & V3D_NEEDBACKBUFDRAW) {
|
||||||
|
|||||||
Reference in New Issue
Block a user