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:
authormano-wii <germano.costa@ig.com.br>2019-05-18 18:25:53 +0300
committermano-wii <germano.costa@ig.com.br>2019-05-18 18:25:53 +0300
commit94db2c1f32438ad988b1314e0f4d2d1349784547 (patch)
tree7f37f4e4c63dd5a2f1e36265c1ec83570cd35ad1 /source/blender/draw/intern
parent4f6e25280558c46ad49381d41e385e9c8e06bc83 (diff)
Edit Mesh Selection Drawing: Make sure the state of point size is enabled.
Diffstat (limited to 'source/blender/draw/intern')
-rw-r--r--source/blender/draw/intern/draw_manager.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c
index ce37145ea85..3403e035354 100644
--- a/source/blender/draw/intern/draw_manager.c
+++ b/source/blender/draw/intern/draw_manager.c
@@ -2771,7 +2771,6 @@ void DRW_draw_select_id_object(Scene *scene,
}
GPU_matrix_mul(ob->obmat);
- GPU_depth_test(true);
const float(*world_clip_planes)[4] = NULL;
if (rv3d->rflag & RV3D_CLIPPING) {
@@ -2897,7 +2896,7 @@ void DRW_framebuffer_select_id_setup(ARegion *ar, const bool clear)
glDisable(GL_DITHER);
GPU_depth_test(true);
- glDisable(GL_SCISSOR_TEST);
+ GPU_enable_program_point_size();
if (clear) {
GPU_framebuffer_clear_color_depth(