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:
authorCampbell Barton <campbell@blender.org>2022-06-14 08:54:17 +0300
committerCampbell Barton <campbell@blender.org>2022-06-14 09:59:33 +0300
commit827fa8176737f822b7f8d2354b05e59976c7101a (patch)
treef4bab251385f9c84e638c8dce5b05ee31a1bab3f /source/blender/io/wavefront_obj/importer/obj_import_mesh.hh
parentf001c857722a8d7ebfc647be54f1a9cb3b2972c4 (diff)
Fix cursor coordinates being quantized to the window scale in Wayland
- Apply the scale before converting cursor coordinates to int. - Store sub-pixel cursor coordinates internally since this is what Wayland uses. - Use `wl_fixed_t xy[2]` for storing coordinates as it simplifies assigning/passing x/y coordinates to an argument / variable. - Also fix drag-and-drop coordinates which ignored scale.
Diffstat (limited to 'source/blender/io/wavefront_obj/importer/obj_import_mesh.hh')
0 files changed, 0 insertions, 0 deletions