AIS_LengthDimension text displays as solid yellow rectangle

I have a custom shape class derived from AIS_Shape that allows me to assign either a color or texture to each face. If all faces are colored (not texture mapped) my length dimensions display correctly. However, the moment I apply a texture map to any face the text of the length dimensions displays as a solid yellow rectangle instead of readable text. Has anyone experienced this problem?

Thanks for any help,


Anjul Beohar's picture

hi Chris,

I am facing the same problem refer

May be it is a bug in opencascade6.1. if you get any solution then please share.


CloneX's picture

I was able to fix the problem by commenting out lines 526 & 527 in OpenGl_TextureBox.c:
if ((current_texture_data!=textab[ID].data)||

This forces the texture to always bind.