[Bf-committers] TFace Breaking, time to rid 'eekadoodle'

Ben Batt benbatt at gmail.com
Tue Nov 21 14:18:59 CET 2006


On 11/21/06, Campbell Barton <cbarton at metavr.com> wrote:
> noticed that files in 2.43 wont be able to load UVs, While were at it
> could we fix the eekadoodle problem where faces cant have v3 or v4 zero
> index. and use MAXINT instead, talked abt this khpython and ton a while
> ago, the reason not to make this change was that it would break loading
> in old blenders.
>
> at the moment blender needs to rotate the order of indicies so the zero
> index dosnt fall on v3 or v4, using MAXINT would solve this problem.

If this is really a possible solution, I'd like to add my vote for
fixing it as well. It'd be very nice not to have to use
test_index_face all the time. I imagine a LOT of code would need to be
edited, though. Perhaps instead of using MAXINT, define a constant
like MFACE_VERT_INVALID or something, and set its value to MAXINT
(magic numbers are bad).

Just my 2 cents.
Ben


More information about the Bf-committers mailing list