Blender Git Commits

Blender Git "master" branch commits.

Page: 796 / 5574

May 3, 2020, 18:35 (GMT)
Merge branch 'blender-v2.83-release'
May 3, 2020, 18:34 (GMT)
Fix T76364: GPencil grid is not located in the right place

During the refactor, the location of the grid was broken. Now, the grid is in Object origin or 3D cursor origin as it was in 2.82.
May 3, 2020, 18:07 (GMT)
Windows: Replace BLI_File* calls with system calls in system_win32.c

Using BLI calls in this file triggered a condition where
poorly modelled dependencies in cmake (ie bf_blenlib using
zlib headers but not linking the libraries) leading to
linker error in debug builds of some of the tests.

This diff sidesteps the dependencies issue by using native
calls rather than BLI calls to check if a file exists and
what its size is. Effectively sweeping the issue right back
under the rug where I found it.

The best solution would be to audit all libraries and ensure
they have proper link requirements set, but that requires
significantly more time than I have available right now.
(zlib in blenlib was one of them and would have been easy
to fix, but there were others that required more work)

The alternative is tests that fail to build which worse.

I'll revisit this and fix it properly but for now this will
have to do.
May 3, 2020, 13:30 (GMT)
Audaspace: update from upstream

- Changing API for time values from float to double for better precision.
- Fixing minor mistakes in the documentation.
- Fixing minor unnecessary large memory allocation.
May 3, 2020, 11:34 (GMT)
Merge branch 'blender-v2.83-release'
May 3, 2020, 11:34 (GMT)
GPencil: More changes to improve Chisel brush

More small tweaks to get the right "feeling" when drawing.

The defaults has been tested by @pepeland.
May 3, 2020, 10:24 (GMT)
GHOST: cleanup platform checks, fix Wayland + X11

- Building with Wayland + X11 missed an exception include.
- Move HEADLESS check first, since it's the same on all platforms.
May 3, 2020, 08:10 (GMT)
Cleanup: store BLF buffer size in a variable
May 3, 2020, 08:01 (GMT)
BLF: use 'int' for internal glyph x,y bearing

These were stored as float but were originally cast from an int
and were often cast back to int.

Also use int pairs for dimensions values.
May 3, 2020, 07:08 (GMT)
UI: improve widget text cursor position

Use BLF_boundbox_foreach_glyph for more accurate cursor placement.
May 3, 2020, 06:51 (GMT)
BLF: add new arguments to BLF_GlyphBoundsFn

- glyph_bounds: to get the character width.
- glyph_bearing: lower left character starting point.

These values are needed for more precise glyph calculations.
May 3, 2020, 03:45 (GMT)
Cleanup: sort file lists
May 3, 2020, 03:42 (GMT)
Cleanup: clang-format
May 3, 2020, 03:40 (GMT)
Cleanup: remove unused alpha argument
May 2, 2020, 16:01 (GMT)
Annotations: Remove old unused code

This code was part of the old grease pencil when annotations was not a separated module.
May 2, 2020, 13:21 (GMT)
Possible fix for T76113: Use GL_STATIC_DRAW in immBegin

This fixes a freeze when closing temporary windows with `AMD Radeon HD 7570M`
The performance is practically the same between calls (with a micro advantage for `GL_STATIC_DRAW`)
I couldn't check the difference in memory usage.
The ideal would be profile in different setups.
But due to the seriousness of the bug, these tests were postponed.
May 2, 2020, 11:35 (GMT)
Merge branch 'blender-v2.83-release'
May 2, 2020, 11:33 (GMT)
Cleanup: Fix return NULL from bool type function
May 2, 2020, 08:48 (GMT)
Merge branch 'blender-v2.83-release'
May 2, 2020, 08:47 (GMT)
GPencil: Improve Market Chisel angle algorithm

With the previous commit, the angle effect was too subtle. Now the effect is more visible,
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021