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:
authorYevgeny Makarov <jenkm>2020-02-28 17:54:52 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-02-28 17:55:51 +0300
commit27fa33c14326e08b61955b0034b5b4b1f2552591 (patch)
treea56c40149e75aca1bee03e8d64c1db6c526d93e5 /source/blender/editors/physics
parent498397f7bd8158aec654d12ddf063868829b5903 (diff)
Fix T72404: particle brush size radial control mismatch on high DPI display
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r--source/blender/editors/physics/particle_edit.c2
1 files changed, 1 insertions, 1 deletions
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)