TextureName$(...) and PaintEntity/EntityTexture

Blitz3D Forums/Blitz3D Bug Reports/TextureName$(...) and PaintEntity/EntityTexture

If you type:
EntityTexture cube,tex
or
PaintEntity cube,brush

and then trying to get the texturename:
tex$=Texturename(GetBrushTexture(GetSurfaceBrush(surf)))

then it returns "" (nothing), but if i use PaintSurface surf,brush
then it returns texturename!

Entity textures and surface textures are seperate.

EntityTexture and PaintEntity both apply a texture to the entity and not a specific surface.

Ok. Then i'll make a replace for EntityTexture, that textures each surface. Im clear then, thanks! :)