[Bf-blender-cvs] [27fa33c1432] master: Fix T72404: particle brush size radial control mismatch on high DPI display

Yevgeny Makarov noreply at git.blender.org
Fri Feb 28 15:56:57 CET 2020


Commit: 27fa33c14326e08b61955b0034b5b4b1f2552591
Author: Yevgeny Makarov
Date:   Fri Feb 28 15:54:52 2020 +0100
Branches: master
https://developer.blender.org/rB27fa33c14326e08b61955b0034b5b4b1f2552591

Fix T72404: particle brush size radial control mismatch on high DPI display

===================================================================

M	source/blender/editors/physics/particle_edit.c

===================================================================

diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c
index 49b6acc9003..99af9d094a9 100644
--- a/source/blender/editors/physics/particle_edit.c
+++ b/source/blender/editors/physics/particle_edit.c
@@ -207,7 +207,7 @@ static float pe_brush_size_get(const Scene *UNUSED(scene), ParticleBrushData *br
   // UnifiedPaintSettings *ups = &scene->toolsettings->unified_paint_settings;
   // float size = (ups->flag & UNIFIED_PAINT_SIZE) ? ups->size : brush->size;
 
-  return brush->size * U.pixelsize;
+  return brush->size;
 }
 
 PTCacheEdit *PE_get_current_from_psys(ParticleSystem *psys)



More information about the Bf-blender-cvs mailing list