Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 232 / 5574

June 22, 2021, 04:23 (GMT)
Cleanup: comment use C comment-blocks for GHOST_Types.h

Also use full sentences, and correct typos.
June 22, 2021, 04:23 (GMT)
Cleanup: spelling
June 22, 2021, 04:23 (GMT)
Cleanup: use early return for selection callbacks
June 22, 2021, 04:23 (GMT)
Fix bone select failing with end-points outside the view

Apply the same fix for T32214 (edge-select failing) to bones
which also failed when their end-points were outside of the view.

- Add V3D_PROJ_TEST_CLIP_CONTENT support for edit & pose bone iterator
and use for selection operators.
- Remove unnecessarily complicated checks with pose-mode lasso tagging.
- Correct error in pose-mode LassoSelectUserData.is_changed
(currently harmless as it's not read back).
Revision e1d6219 by Hans Goudey
June 22, 2021, 04:07 (GMT)
Cleanup: Use "size" instead of "points_len" in spline code

Previously this was mostly consistent, but not completely. It's helpful
to use the same name for the same meaning everywhere in this area.
Revision dc3b760 by Hans Goudey
June 22, 2021, 04:02 (GMT)
Cleanup: Rename variables, use shorter names

`src` and `dst` are perfectly clear, and avoid repeating unecessary
characters when writing the variables many times, allowing more space
for everything else.
June 22, 2021, 02:29 (GMT)
UI: Sequencer: add refresh_all operator to all sequencer view menus

This commit piggybacks on rB3e695a27cdfad560d0b28e742cfa069d098200d6
June 22, 2021, 00:19 (GMT)
CMake: Improve python version mismatch error

When CMake detects and incompatible Python version
it errors out with an error saying at-least python 3.9
is required, but doesn't mention the version it detected.

This makes troubleshooting the problem harder than it
needs to be.

This diff changes the error message to include the python
version CMake detected.

Differential Revision: https://developer.blender.org/D11666

Reviewed By: Ray Molenkamp
June 22, 2021, 00:11 (GMT)
Build/Windows: Preliminary VS 2022 support.

This adds preliminary VS 2022 support, since
there currently is no CMake version that
supports the VS2022 IDE only ninja support
was tested.

IDE support should work without any additional
changes as soon as an updated CMake becomes
available.

As VS2022 appears to keep binary compatibility
with earlier MSVC versions, the current SVN
libraries will work for this version.
June 21, 2021, 21:38 (GMT)
Refactor of Wintab to use Wintab supplied mouse movement once verified against system input.

Reviewed By: brecht, LazyDodo

Maniphest Tasks: T88852

Differential Revision: https://developer.blender.org/D11508
Revision 445d506 by Hans Goudey
June 21, 2021, 21:17 (GMT)
Geometry Nodes: Use multithreading for the curve to mesh node

This commit optimizes the node for the case where it works on many
splines by allowing it to generate mesh data from their combinations
in parallel. By itself, this made the node around twice as fast in my
test file with a result of 20 million vertices, around 600ms instead of
1.2s before.

That isn't actually a very good result; it reveals another bottleneck,
a single threaded loop over all face corners in the mesh normal
calculation code. As a simple change that might improve performance
in some situations, this commit moves normal calculation out of this
node, so at least the work isn't wasted if the mesh is changed later
on in the node tree anyway.
June 21, 2021, 19:41 (GMT)
Refactor: Do not keep a copy of depth buffer in RegionView3D

The depth cache (located in `RegionView3D::depths`) is used for quick
and simple occlusion testing in:
- particle selection,
- "Draw Curve" operator and
- "Interactive Light Track to Cursor" operator,

However, keeping a texture buffer in cache is not a recommended practice.

For displays with high resolution like 8k this represents something
around 132MB.

Also, currently, each call to `ED_view3d_depth_override` invalidates
the depth cache. So that depth is never reused in multiple calls from
an operator (this was not the case in blender 2.79).

This commit allows to create a depth cache and release it in the same
operator. Thus, the buffer is kept in cache for a short time, freeing
up space.

No functional changes.
June 21, 2021, 17:31 (GMT)
Fix T89291: Objects with rotation deltas don't rotate in correct axes

Quaternion correction was not implemented and Euler values were being
incorrectly combined.
June 21, 2021, 17:25 (GMT)
Fix deadlocks in mesh modifier evaluation and particles

The recent task isolation changes missed two mutex locks that also need task
isolation.

Ref D11603, T89194
June 21, 2021, 14:59 (GMT)
GPencil: Disable Lights when duplicate layer

Missing to disable default light ON when use separate operator.
June 21, 2021, 14:35 (GMT)
Performance: Flush selection to edges/faces.

This patch uses threading to flush selection from verts to edges and
from edges to faces. The solution is lockless and should scale well on
modern CPU architectures.

Master:{F10185359}
Patch:{F10185361}

End user performance went from 3.9 to 4.6 FPS (Stanford Dragon) but that
was measured on a Intel Core i7-6700 CPU and AMD RX480 Gpu. The more
cores the better improvements you get.

Reviewed By: mano-wii

Differential Revision: https://developer.blender.org/D11644
June 21, 2021, 14:08 (GMT)
Fix T89306: GPencil selection doesn't work correctly with modifiers

The problem was introduced with Bezier modification because the selection code was using the original stroke and not the evaluated version.
June 21, 2021, 11:51 (GMT)
Cleanup: move function parameter to member

Get current pass only when needed.
June 21, 2021, 11:51 (GMT)
Cleanup: improve naming in Compositor
Revision 2851602 by Gaia Clary
June 21, 2021, 10:51 (GMT)
Add a reason for why an Addon can not be loaded. This change gives a more detailed explanation of the issue and may help the Addon Developer to identify what exactly needs to be changed.

The current message 'addon not loaded' is a bit too sparse.

Differential Revision: https://developer.blender.org/D11655
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021