hasFaceUV bug?

This return message: HAS FACEUV: 0

import Blender
obj = Blender.Object.Get(“Base”)
obj_mesh = obj.getData()
obj_mesh.hasFaceUV(1)
print "HAS FACEUV: ", obj_mesh.hasFaceUV()

hasVertex colors may work odd too

would it be easier to try it:

try:
   mesh.f[0].uv[0]
catch:
   # didn't have it
   pass

or some such? (that was psuedo python)

I’ve solved using


nverts = len(f.v)
if len(f.uv) == 0:
    for m in range(nverts):
        f.uv.append((0,0))

But if hasFaceUV(1) work, this is
not necessary, right?