[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Nel] Patch Painter Exception - 3DS Max 4.2
From: |
John HUELIN |
Subject: |
RE: [Nel] Patch Painter Exception - 3DS Max 4.2 |
Date: |
Fri, 6 Jun 2003 10:25:24 +0200 |
hello
in paint.cpp just replace
#else // (MAX_RELEASE < 4000)
int
otherPatch=(patch->edges[mYedge].patches[0]==p)?patch->edges[mYedge].patches[1]:patch->edges[mYedge].patches[0];
#endif // (MAX_RELEASE < 4000)
by that
#if (MAX_RELEASE < 4000)
int
otherPatch=(patch->edges[mYedge].patch1==p)?patch->edges[mYedge].patch2:patch->edges[mYedge].patch1;
#else // (MAX_RELEASE < 4000)
int otherPatch = -1;
if (patch->edges[mYedge].patches[0]==p)
{
if
(patch->edges[mYedge].patches.Count() > 1)
otherPatch =
patch->edges[mYedge].patches[1];
}
else
otherPatch =
patch->edges[mYedge].patches[0];
#endif // (MAX_RELEASE < 4000)
Regards
John
-----Message d'origine-----
De : Tony Hetherington [mailto:address@hidden
Envoyé : jeudi 5 juin 2003 20:29
À : address@hidden
Objet : [Nel] Patch Painter Exception - 3DS Max 4.2
I am getting an exception when trying to run the paint
plugin.
I have tracked it down to the following line of code :
File : Paint.cpp
Function : EPM_PaintCMode::DoPaint
..
..
#else // (MAX_RELEASE < 4000)
int
otherPatch=(patch->edges[mYedge].patches[0]==p)?patch->edges[mYedge].patches[1]:patch->edges[mYedge].patches[0];
#endif // (MAX_RELEASE < 4000)
..
It is going to the .patches[1] branch but .patches[1]
does not exist.
Anyone got any ideas or had the same problem ?
Regards
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
_______________________________________________
Nel mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/nel-all