Blender Git Commits

Blender Git "master" branch commits.

Page: 852 / 5574

March 25, 2020, 08:32 (GMT)
Cleanup: use const to for some mask arguments
March 25, 2020, 08:06 (GMT)
Cleanup: move mask queries into own file

Similar functions to lookup nearest mask points were in mask_add.c
& mask_edit.c
March 25, 2020, 06:58 (GMT)
Cleanup: use 'r_' prefix for output arguments

Also pass some args as 'const'.
March 25, 2020, 05:36 (GMT)
Cleanup: update doxy sections
Revision 188ccfb by Richard Antalik
March 24, 2020, 23:23 (GMT)
Fix T74662: Prefetching causes random crashes

Caused by 18b693bdbd6b, due to lack of thread safety.
Beteween calling BKE_sequencer_cache_get_num_items and BKE_sequencer_cache_iterate
New items could be inserted in the cache.

BKE_sequencer_cache_iterate() now use 2 callbcack functions for initial setup
during which buffers with correct length can be initialized and finally iterating.

Additionally drawing of unselected items was fixed again introduced in 18b693bdbd6b.

T74662 is reporting quite different symptoms, than I get on my machine, so I am not
entirely sure this is complete fix.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D7220
March 24, 2020, 23:09 (GMT)
Fix T75019: Frame Offset does not apply to scopes

Don't check for `sseq->mainb == SEQ_DRAW_IMG_IMBUF`.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D7228
March 24, 2020, 20:48 (GMT)
Windows/Cleanup: Remove VS2015 support from make.bat

VS2015 has not been supported for a while now but make.bat
still had some support for it.
March 24, 2020, 20:40 (GMT)
Fix T74038 : Scrolling doesn't work in menu if there is no active item

Fix T74038, the logic didn't handle the case where there was not any button with focus.

Reviewed By: Julian Eisel

Maniphest Tasks: T74038

Differential Revision: https://developer.blender.org/D7208
March 24, 2020, 19:09 (GMT)
Cycles: use OpenCL C 2.0 if available, to improve performance for AMD

Tested with AMD Radeon Pro WX 9100, where it brings performance back to 2.80
level, and combined with recent changes is about 2-15% faster than 2.80 in
our benchmark scenes.

This somehow appears to specifically address the issue where adding more shader
nodes leads to slower runtime. I found no additional speedup by applying this
to change to 2.80 or removing the new shader node code.

Ref T71479

Patch by Jeroen Bakker.

Differential Revision: https://developer.blender.org/D6252
March 24, 2020, 17:28 (GMT)
Add invert mapping option to proximity weight edit modifier, and some cleanup.
March 24, 2020, 17:28 (GMT)
Modifiers: Vertex Weight Edit add invert curve falloff option

This commit adds the option to invert the resulting weights of the
falloff curve.

There is a workflow used by some to convert a texture mask into
vertex weights by using a custom curve and inverting the points.
This allows the same effect with a single click, and gives the modifier
more procedural functionality.

With minor UI tweaks by @mont29.

Differential Revision: https://developer.blender.org/D6899
March 24, 2020, 16:54 (GMT)
Overlay: Wireframe: Make facing ratio offset depends on gl_Position.w

This makes the offset dependent of the actual near and far clip distances.
Revision 5801a01 by Brecht Van Lommel
March 24, 2020, 15:49 (GMT)
Cycles: slightly improve OpenCL performance by reordering SVM enum values

Ref T71479
Revision 2bec6f1 by Brecht Van Lommel
March 24, 2020, 15:49 (GMT)
Cycles: work around OpenCL performance regression after AOVs and vector rotate

We appear to be hitting some limit where adding any amount of code causes a
significant performance regression, no matter what it does. To work around
that a new node level was added.

Ref T71479
March 24, 2020, 15:49 (GMT)
Cleanup: remove unused Cycles kernel feature flags, replace by node levels
March 24, 2020, 15:33 (GMT)
Cleanup: Silence warnings

```
...gpu_texture.c(466,7): warning C4555: result of expression not used
...gpu_texture.c(559,7): warning C4555: result of expression not used
...gpu_texture.c:1205:72: warning: pointer targets in passing argument 4 of ?glGetTexLevelParameteriv? differ in signedness [-Wpointer-sign]
```
March 24, 2020, 15:26 (GMT)
Cleanup: use switch statement instead of if/else on enum value...
March 24, 2020, 15:19 (GMT)
GPencil: Cleanup previous commit
March 24, 2020, 15:16 (GMT)
GPencil: Add blank frame when add layer in Dopesheet

When use the dopesheet add layer operator a new blank frame is created. It's very strange to create a layer and don't see anything in dopesheet.

If the layer is added in properties, the frame is not created.

Reviewed by: @pepeland @mendio
March 24, 2020, 15:13 (GMT)
GPU: Estimate a better value for the memory used

This commit adds a `mipmaps` member to the `GPUTexture` struct and also
computes to the memory used by these mipmaps and the memory used for
textures that are created from an external bindcode.

So it solves the following inconsistencies:
- The memory value for mipmaps was not being computed.
- As `GPU_texture_from_bindcode` didn't call
`gpu_texture_memory_footprint_add`, it brought inconsistencies to the
value of the used memory, especially when the texture is freed.

Differential Revision: https://developer.blender.org/D3554
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021