miniB3D bug: Anim Textures and brushes

BlitzMax Forums/MiniB3D Module/miniB3D bug: Anim Textures and brushes

AdamRedwoods(Posted 2011) [#1]
Looks like animated textures weren't passing the 'frame number' texture value to brushes when PaintMesh or PaintSurface is used such as:

LoadAnimTexture(file, tex, flags, w, h, frame init, frame end)
brush.BrushTexture(tex, tex frame number)
mesh.PaintMesh(brush)


code to fix (one line) in TMesh.bmx:


code to fix in TSurface.bmx:



Kryzon(Posted 2011) [#2]
Nice spotting, thanks for the fix.