forked from bartvdbraak/blender
Edit Mesh Selection Drawing: Make sure the state of point size is enabled.
This commit is contained in:
parent
4f6e252805
commit
94db2c1f32
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user