[Verse-dev] noise bug.
eskil at obsession.se
eskil at obsession.se
Tue Jun 13 14:18:33 CEST 2006
Hi every one!
I found a bug in verse this morning! Long time since last time. It prevents you
from creating noise fragments in the material node. Its quite a simple fix.
the code in v_gen_pack_m_node.c
case VN_M_FT_NOISE :
if(buffer_pos + 4 > buffer_length)
return -1;
and v_cmd_def_m.c
"\t\tcase VN_M_FT_NOISE :\n"
"\t\t\tif(buffer_pos + 4 > buffer_length)\n"
"\t\t\t\treturn -1;\n"
Is both wrong. the "4" should be a "3". That's it, small fix.
Cheers
E
More information about the Verse-dev
mailing list