[Verse-dev] bitmap tile bug

Brecht Van Lommel verse-dev@blender.org
06 Jul 2004 20:53:18 +0000


On Tue, 2004-07-06 at 19:23, Brecht Van Lommel wrote: 
> So for example, for VN_B_LAYER_UINT8:
> &((VNBTile *)node->layers[layer_id].layer[***])
> has to change to:
> &((VNBTile *)((uint8*)node->layers[layer_id].layer[***]))

There's a typo even in the 'corrected' line. It is supposed to be:
(VNBTile *)&((uint8*)node->layers[layer_id].layer[***])

One bug was only partially fixed in vs_node_geometry. The faulty line of
code occurs 3 more times:

if(VN_FORMAT_REAL64)

is supposed to be

if(type == VN_FORMAT_REAL64)


Brecht