- cubemap relied on pointer to MFace, which is only available for Mesh when directly converted to renderfaces. It then checked the 'puno' flag where also bits were set to indicate the optimal projection for a face (XY, XZ or YZ). - I found out the renderface also has a puno flag, so the mface pointer in a renderface is redundant. Is removed now - added code in texture cubemap call, which checks on a projection flag in 'puno'. If not set, it uses the orco's to calculate one. - this means, that cubemap now also works for other objects than meshes, provided they have an orco block while render. - if no orco block available, it uses the 'global' projection to find which of the cube sides map. I couldnt find other errors with subsurf & orco though...