Blender Git Loki
Git Commits -> Revision 9c01aaa
Revision 9c01aaa by Mike Erwin (master) April 7, 2017, 07:08 (GMT) |
OpenGL: disable rotate manipulator clipping on Mac This fixes T51143. gl_ClipDistance is part of GLSL version 1.3 but Mac is stuck on 1.2 for now. This workaround uses GPU_SHADER_3D_UNIFORM_COLOR for the entire rotation widget, ignoring any clipping plane. The CLIPPING shader only works on GLSL 1.3+ so I removed its 1.2 cruft. A legacy implementation using gl_ClipVertex might be possible, but is not worth the effort. This problem (and workaround) goes away when all platforms move to 3.3 core profile. |
Commit Details:
Full Hash: 9c01aaa3dd7456d6811bad4f37190833fa5a04a0
Parent Commit: c986a2c
Lines Changed: +16, -5