Blender Git Commits

Blender Git "master" branch commits.

Page: 41 / 5574

November 22, 2021, 18:44 (GMT)
IME: Fix Multi-Window Duplicated First Character

Fix problem with duplicated initial character when initiating or
switching to new windows. This is done by updating our copies of state
and modes from the new window when it receives WM_IME_SETCONTEXT
message. This problem and fix are only for the Windows platform.
November 22, 2021, 18:41 (GMT)
IME: Fix Multi-Window Duplicated First Character

Fix problem with duplicated initial character when initiating or
switching to new windows. This is done by updating our copies of state
and modes from the new window when it receives WM_IME_SETCONTEXT
message. This problem and fix are only for the Windows platform.
Revision cc6bcb5 by Hans Goudey
November 22, 2021, 18:16 (GMT)
Geometry Nodes: Rename legacy node files

This will be useful to solve some issues with unity builds,
which compiles different files together to improve build times.
November 22, 2021, 18:07 (GMT)
CurveEval: Add total_length() and total_control_point_size() methods

Add the following methods to the CurveEval class:
total_length() : returns the total length of the curve without needing to
allocate a new array
total_control_point_size() : returns the total number of control points without
needing to allocate a new array
November 22, 2021, 17:37 (GMT)
Fix confusing new Cycles UI terminology

* Rename "Auto Tiles" to "Use Tiling", it's not really automatic and
confusing with the old auto tile size add-on.
* Rename "Adaptive" scrambling distance to "Automatic", to avoid confusion
with adaptive sampling.
November 22, 2021, 17:23 (GMT)
UI: Use a map for block name lookups

Use a map to speed up search for UI block names.
Time to redraw the node editor was decreased from
around 75-120ms to 40-70ms in a tree with many
Geometry Nodes.

Differential Revision: https://developer.blender.org/D13225
November 22, 2021, 16:47 (GMT)
Fix T84493 issue with selection after boolean.

According to Blender selection rules, selections should be flushed
to containing elements. Added an EDMB_select_flush() after edit
mode booleans or intersects are done. Hopefully this doesn't break
any scripts that might have been depending on the old (broken) behavior.
November 22, 2021, 16:32 (GMT)
Merge branch 'blender-v3.0-release'
November 22, 2021, 16:26 (GMT)
Fix T90308: Cycles crash copying memory from device to host

Happens when device runs out of memory and Cycles is moving some
textures to the host memory.

The delayed memory free for OptiX BVH was moving data from one
device_memory to another, leaving the original device memory in
an invalid state. This was ruining the allocation map in the CUDA
device which is using pointer to the device_memory.

This change makes it so the memory pointer is stolen from BVH
into the delayed memory free list.

Additionally, forbid copying and moving instances of device_memory
and added sanity checks in the device implementation.

Differential Revision: https://developer.blender.org/D13316
November 22, 2021, 16:26 (GMT)
Cleanup: Clang-format of the HIP device implementation
November 22, 2021, 16:14 (GMT)
BKE Link/Append: Use BLO's LibraryLink_Params.

This allows to reduce signature of several functions, and make it eaiser
to integrate more higher-level usages later on.

This should be a non-behavioral-change commit.

Part of T91414: Unify link/append between WM operators and BPY context
manager API, and cleanup usages of `BKE_library_make_local`.
November 22, 2021, 15:55 (GMT)
Link/Append: Move main linking code (from WM) to use new instantiation code in BKE.

This removes the last main usage of BLO's instantiation code.

Also required some limited refactoring of BKE_blendfile_link_append's
instantiation to make it more modular, and usable by both linking and
appending code paths.

NOTE: This should be a non-behavioral change commit.

Part of T91414: Unify link/append between WM operators and BPY context
manager API, and cleanup usages of `BKE_library_make_local`.
November 22, 2021, 15:52 (GMT)
Link/Append: Move most of core link/append code from WM to new `BKE_blendflie_link_append` module.

This will allow to expose all those advanced features of the WM
operators to other parts of the code, like the python library context
manager, copy/paste code, etc.

This is expected to be a strictly no-behavioral-change commit.

Part of T91414: Unify link/append between WM operators and BPY context
manager API, and cleanup usages of `BKE_library_make_local`.

Maniphest Tasks: T91414

Differential Revision: https://developer.blender.org/D13222
November 22, 2021, 15:47 (GMT)
Merge remote-tracking branch 'origin/blender-v3.0-release'
November 22, 2021, 15:46 (GMT)
Material Preview: Fix Sphere object (squared UV and poles)

A good sphere preview material has a 1:1 UV ratio (so we see squares as
least distorted as possible), as well as good poles.

Square UV:
The original sphere expected a 2:1 panorama to be mapped to it. This
patch changes that (I scaled Y by 0.5) so that square textures look ok.

Poles:
The original sphere had a low initial resolution, so no ammount of
subdivision would fix the poles.

The sphere has a subdivision modifier with 0 resolution. Later (3.1?) I
want to try to change the resolution on-the-fly based on whether the material
has a displacement map.

Old sphere (1.9K vertices):
{F11845752, size=500px}

New sphere (2.0K vertices):
{F11845710, size=500px}

Differential Revision: https://developer.blender.org/D13309
November 22, 2021, 14:52 (GMT)
Moviecache: Fix potential memory corruption.

`IMB_moviecache` is implemented as a singleton. When destructing the
singleton via `IMB_moviecache_destruct` it will not be created anymore
resulting inusage of unallocated memory and potentional memory
corruption.

When running blender this doesn't happen, but when creating images in
test cases the moviecache should be able to be recreated after it is
destroyed.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D13287
November 22, 2021, 14:36 (GMT)
Painting: Performance curve masks.

This patch separates the static-part from the dynamic-part when
generate brush masks. This makes the generation of brush masks 2-5 times
faster depending on the size of the brush.

More improvements can be done, this was just low hanging fruit.
Revision 178947d by Hans Goudey
November 22, 2021, 14:34 (GMT)
Merge branch 'blender-v3.0-release'
November 22, 2021, 14:33 (GMT)
Fix T92631: Fix negative thickness regression in complex solidify

This regression was introduced by D11832, but there was problems before
that as well. I seem to have missed it in review. See the differential
revision for a screenshot of the difference.

Differential Revision: https://developer.blender.org/D13216
Revision 77ddc6e by Hans Goudey
November 22, 2021, 13:47 (GMT)
Fix T93250: Crash in spreadsheet tree view after recent commit

It seems that update_from_old assumed there would be an old
tree view available in the old block. This works for the asset browser
because the tree is always drawn, but for the spreadsheet that depends
on having an active object, which isn't necessarily always true.

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