Also found another way of doing this.

glFT.glDisable( OpenMayaRender.MGL_DEPTH_TEST )
...
...
your code and your opengl shape

glFT.glEnable( OpenMayaRender.MGL_DEPTH_TEST )

So two ways of doing this, this one makes to stop it after drawing, so 
might be better but i am nt sure.

D.

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/eb8ae728-4f92-44ed-871d-567a56c362ee%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to