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-11 13:56:01 +0300
committerCampbell Barton <campbell@blender.org>2022-06-11 14:03:58 +0300
commit922861c5dc4001de94e4f32360e893553244ab80 (patch)
treeabaf78c834411eae0d9582f3cba167a7d182bb00 /source/blender/blenlib/intern
parentadd1da52ad783e33e8abb0a790ddc97dd89dab92 (diff)
Cleanup: minor changes to GHOST/Wayland window output access
- Use a window method to handle updating the window after scale changes. This avoids the need for methods that return mutable references to DPI & scale. - Remove window.outputs() method that returned window->system->outputs as it is misleading to expose these as window outputs when the outpurs returned are all known outputs. - Use a vector instead of an unordered_set to store window outputs, while a 'set' does make sense, it means the outputs can't be accessed in the order they're added which may be useful for further changes. - Use early returns.
Diffstat (limited to 'source/blender/blenlib/intern')
0 files changed, 0 insertions, 0 deletions