[Bf-committers] Potential issue (crash) with underlining, workaround?

Alexander Ewering blender at instinctive.de
Thu Oct 27 22:18:43 CEST 2005


from IRC:

22:14 < intrr> somehow sometimes, renderfaces generated from underline nurbs polys have
                their ->mat pointer set to
                NULL, which is illegal for the renderer.. i have no idea why
                that is happening, all mat_nrs in the nurbs are fine.
22:14 < intrr> i have a workaround which checks for vlr->mat==NULL in set_fullsample_flag,
                and if it's null, it
                spits out an error and sets it to
                give_render_material(vlr->ob, 1)... don't know if that's
                acceptable ;-)

Of course, it would be nicer if someone has an idea why the hell vlr->mat
would *ever* be NULL, especially with totally current nu->mat_nr indices.

Hell, this text3d code should be redone from scratch. Sorry for these
quick intrr hacks ;)

| alexander ewering              instinctive mediaworks
| ae[@]instinctive[.]de   http://www[.]instinctive[.]de

More information about the Bf-committers mailing list