Image Editor Vectorscope Improvement #116974

Merged
Aras Pranckevicius merged 13 commits from JonasDichelle/blender:vectorscope-update into main 2024-02-06 12:22:57 +01:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 5f58185acb - Show all commits

View File

@ -1038,7 +1038,7 @@ void ui_draw_but_VECTORSCOPE(ARegion * /*region*/,
immBindBuiltinProgram(GPU_SHADER_3D_UNIFORM_COLOR);
/* circles */
const int increment = 15;
const int increment = 6;
const int num_points = int(360 / increment);
const float r = 0.5f;
@ -1104,7 +1104,7 @@ void ui_draw_but_VECTORSCOPE(ARegion * /*region*/,
if (scopes->ok && scopes->vecscope != nullptr) {
/* pixel point cloud */
GPU_blend(GPU_BLEND_ALPHA);
GPU_point_size(5.0);
GPU_point_size(1.0);
GPU_matrix_push();
GPU_matrix_translate_2f(centerx, centery);