Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2019-06-27 17:42:29 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-06-27 18:02:22 +0300
commit19d90c8602193f370c8d47805c82f16d9e6c18c0 (patch)
tree19364bfbdadbb6fa84865e2d5315e436ca8e49e7
parent4b124143b1038f406d38167e892ecda64ef6db5e (diff)
Fix T66119: Assert editing Lattice
-rw-r--r--source/blender/draw/modes/edit_lattice_mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/edit_lattice_mode.c b/source/blender/draw/modes/edit_lattice_mode.c
index 04404058813..0fb8f555819 100644
--- a/source/blender/draw/modes/edit_lattice_mode.c
+++ b/source/blender/draw/modes/edit_lattice_mode.c
@@ -186,7 +186,7 @@ static void EDIT_LATTICE_cache_init(void *vedata)
DRW_shgroup_state_enable(stl->g_data->wire_shgrp, DRW_STATE_CLIP_PLANES);
}
- state = DRW_STATE_WRITE_COLOR | DRW_STATE_WRITE_DEPTH;
+ state = DRW_STATE_WRITE_COLOR;
psl->vert_pass = DRW_pass_create("Lattice Verts", state);
stl->g_data->vert_shgrp = DRW_shgroup_create(sh_data->overlay_vert, psl->vert_pass);
DRW_shgroup_uniform_block(stl->g_data->vert_shgrp, "globalsBlock", G_draw.block_ubo);