Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 42 / 5574

November 22, 2021, 12:49 (GMT)
Merge branch 'blender-v3.0-release'
November 22, 2021, 12:42 (GMT)
Fix T93198: Frame Selected in greasepencil curve editing does not work

Was not taking into account curve points at all.

Maniphest Tasks: T93198

Differential Revision: https://developer.blender.org/D13281
November 22, 2021, 10:22 (GMT)
Cleanup: Removed unused code in curve mask creation.

Generating curve mask for 2d texture painting had some hard-coded
parameters that eventually weren't used in the algorithm (hardness and
rotation of the brush). This patch removes these parameters.
November 22, 2021, 09:46 (GMT)
Cleanup: Make parameter const (BKE_brush_curve_strength_clamped).
November 22, 2021, 09:46 (GMT)
Painting: migrated curve mask generation to CPP.

Curve mask generation is done during 2d texture painting. There are some
performance issues in this part of the code. Before addressing those we
move the code to CPP.
November 22, 2021, 09:39 (GMT)
Revert "Fix (unreported) broken handling of constraints reordering with liboverride."

This reverts commit 6eaa69c66c98d291b80331330391664415f759a4.

Committed by nistake, sorry for the noise.
November 22, 2021, 09:18 (GMT)
Cleanup: use simple data member instead of callback

This really doesn't have to be a callback currently, since it is always
the same `CPPType` for a socket type.
November 22, 2021, 08:48 (GMT)
Cleanup: make naming more consistent
November 22, 2021, 08:32 (GMT)
Merge branch 'blender-v3.0-release'
November 22, 2021, 08:31 (GMT)
Fix broken NLA RNA code after own rBfa6a913ef19c.

Thanks to @scurest for noticing this mistake!
November 22, 2021, 08:28 (GMT)
Fix (unreported) broken handling of constraints reordering with liboverride.

New drag&drop reordering code would call constraints reordering operator
with the generic context, and not the one from the panel's layout.
missing the "constraint" member which is mandatory for poll function to
properly deal with override vs. local constraints.

This commit fixes it by generating a temp bContextStore in the panel
re-ordering callback.

NOTE: this fix will have to be extended to modifiers (which happen to
work currently because they have an 'active' status), and gpencil
modifiers (which are also broken currently).

Differential Revision: https://developer.blender.org/D13291
Revision fb470c2 by Hans Goudey
November 21, 2021, 16:37 (GMT)
Fix T93256: Instances to points node broken after recent commit

When 97533eede444217 added the instance domain, it didn't change
the domain that instance attributes are read from in this node.
November 21, 2021, 12:08 (GMT)
Functions: remove test for dynamic name

This was broken in rB6ee2abde82ef121cd6e927995053ac33afdbb438.
November 21, 2021, 12:06 (GMT)
Functions: fix compile error in tests
November 21, 2021, 11:57 (GMT)
Functions: use static string for parameter names

The idea behind this change is the same as in
rB6ee2abde82ef121cd6e927995053ac33afdbb438.

A `MultiFunction::debug_parameter_name` method could be
added separately when necessary.
November 21, 2021, 11:48 (GMT)
Functions: use static names for multi-functions

Previously, the function names were stored in `std::string` and were often
created dynamically (especially when the function just output a constant).
This resulted in a lot of overhead.

Now the function name is just a `const char *` that should be statically
allocated. This is good enough for the majority of cases. If a multi-function
needs a more dynamic name, it can override the `MultiFunction::debug_name`
method.

In my test file with >400,000 simple math nodes, the execution time improves from
3s to 1s.
Revision d455ead by Hans Goudey
November 20, 2021, 21:30 (GMT)
Cleanup: Move menu search template to C++

This allows the use of better/more readable data structures,
and will also make some refactors to the search button easier.
The build completed on the buildbot for all platforms.
November 20, 2021, 17:00 (GMT)
Merge branch 'blender-v3.0-release'
Revision 1b2ee3c by Brecht Van Lommel
November 20, 2021, 16:50 (GMT)
Fix T92090: Eevee crash with Intel HD 4000 and macOS 10.15.7

A recent security update to macOS 10.15.7 causes crashes when using Eevee and
various other 3D viewport features. It appears that glGenerateMipmap is
broken, causing a crash whenever its commands are flushed/submitted to the GPU.

Ideally this would be fixed in a driver update, however it's unlikely this will
happen. Earlier macOS versions have been receiving security updates for 2 years,
and that window has just passed for 10.15. Further, computers with these GPUs
can't upgrade to a newer macOS version.

As a workaround, disable mipmaps on these GPUs, by setting the mipmap max level
to 0 and not calling glGenerateMipmaps. Effects like depth of field also use
mipmaps, but fill in the mip levels by other means. In those cases we keep the
mipmap level.

Differential Revision: https://developer.blender.org/D13295
November 20, 2021, 13:34 (GMT)
Cleanup: unset 'FILE_ENTRY_PREVIEW_LOADING' at the end

Although this function only runs on the main thread, it seems safer to
clear the flag only after setting the result.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021