diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-09-06 15:27:21 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-09-06 16:00:44 +0300 |
commit | b2d82d096a04c44febdaea6c50fb35858352d46a (patch) | |
tree | 7a3d17289fca3b8e762d4004084a4ea0c725c25b /source/blender/draw | |
parent | 5ff15a1777eb6268b04cdaf12f6156bfe51d437d (diff) |
Fix T56706: Lattice crash when enter in edit mode
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/modes/shaders/edit_lattice_overlay_loosevert_vert.glsl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/draw/modes/shaders/edit_lattice_overlay_loosevert_vert.glsl b/source/blender/draw/modes/shaders/edit_lattice_overlay_loosevert_vert.glsl index fba5d604ccf..0cbc66a2b1f 100644 --- a/source/blender/draw/modes/shaders/edit_lattice_overlay_loosevert_vert.glsl +++ b/source/blender/draw/modes/shaders/edit_lattice_overlay_loosevert_vert.glsl @@ -3,7 +3,6 @@ uniform mat4 ModelViewProjectionMatrix; uniform vec2 viewportSize; -uniform ivec4 dataMask = ivec4(0xFF); in vec3 pos; in int data; @@ -33,7 +32,7 @@ void main() eData1 = eData2 = vec4(1e10); eData2.zw = proj(pPos); - vertFlag = data & dataMask; + vertFlag = data; gl_PointSize = sizeVertex; gl_Position = pPos; |