Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 369 / 5574

March 1, 2021, 05:54 (GMT)
Cleanup: move logic to copy the previous event state to a function
March 1, 2021, 01:21 (GMT)
Cleanup: minor change to click detection checks

Change order of checks for more convenient click-detection debugging.
March 1, 2021, 01:00 (GMT)
WM: don't set event prevval/prevtype on cursor motion

Currently the intended behavior regarding prevval/prevtype isn't
handled consistently. However, including cursor motion causes events
in `wm->queue` and `wm->eventstate` to behave differently,
where `wm->eventstate` ignores motion (necessary for click detection).

This makes checks from `wm->eventstate` to events in the queue fail.

This reverts 39919e35326c732141bfd2d740b19000b6bc1d51,
using the `event.type` instead of it's previous type.
This works as it includes mouse button release events.
March 1, 2021, 00:00 (GMT)
Cleanup: spelling
February 28, 2021, 16:33 (GMT)
Fix T86082 Bevel messed up UVs on some multisegment bevels.

When polygons around a bevel are rebuilt, sometimes UVs are merged
around a new vertex in the case of the face opposite a single edge
being beveled on a 3-edge vertex. This should not have been done
if any of the edges at that vertex were a seam.
February 27, 2021, 23:51 (GMT)
Fix T85948 Exact boolean crash with some nonplanar ngons.

Triangulating ngons could fail with the method that was being
used: projecting along the dominant normal axis and then using CDT.
It could fail if the ngon has self crossings or might be so after
the described projection.
Switched to using projection along the normal itself, and also to
using polyfill which produces some kind of triangulation no matter
what in such circumstances. This will also likely be faster if
there are a lot of ngons in the meshes, since the exact arithmetic
CDT was being used before, and now float arithmetic is used.
February 27, 2021, 20:22 (GMT)
Fix T85886: Rotate Tool and Adjust Last Operation - angles inverted

The constraint was not set when redoing.

This commit also removes `postInputRotation`. I really couldn't see a use for it.
February 27, 2021, 12:12 (GMT)
Fix (unreported) broken OCIO from install_deps.

Looks like they removed static libs by default in OCIO 2.0, for some
historical reasons `install_deps` was enforcing using only static libs
for this one, now removed it so that Blender buil can use usual so's.
February 27, 2021, 12:12 (GMT)
Fix T86028: Crash when loading file with missing libraries.

Regression from rB53d13b6f5387c68.
Revision 4b16cb1 by Falk David
February 27, 2021, 12:08 (GMT)
Fix T85987: Selection when GP is parented

When a GP object was parented to e.g. a bone, box selection as well as
point selection were broken in that the selection from the user would
not correlate with what was actually being selected.

The issue was that box and point selection did not use the active
evaluated stroke data. The fix uses the correct data.

Reviewed By: antoniov

Maniphest Tasks: T85987

Differential Revision: https://developer.blender.org/D10555
February 27, 2021, 11:05 (GMT)
Fix error converting simulated events press/release to clicks

Move logic that sets previous event state into WM_event_add_simulate.
February 27, 2021, 05:30 (GMT)
RNA: add Region.data member to access RegionView3D

Without this, the RegionView3D could only be accessed from
`context.region_data`, not the region.
February 26, 2021, 21:23 (GMT)
Geometry Nodes: Add "Location" output to Attribute Proximity node

This patch adds an output field to the Attribute Proximity node and
renames the existing string socket from "Result" to "Distance".
- The "Distance" output contains distance to the closest position
on the Target geometry.
- The new "Location" output contains the coordinates of the closest
position on the Target geometry.

A basic use case for this data is a simple shrinkwrap operation.

Differential Revision: https://developer.blender.org/D10415
February 26, 2021, 20:35 (GMT)
CMake/deps: Adjust OSL shader directory

The location of the shaders changed with OSL 1.11.10. This commit is therefore in addition to D10212.

@sybren With the latest SVN libraries, I am fairly certain there is a "OSL not found" in the CMake output. Can you check on Linux?

@LazyDodo Since you haven't pushed the new OSL libs yet, this should not be a problem on Windows. So this will only be needed whenever those land.

Reviewed By: LazyDodo

Differential Revision: https://developer.blender.org/D10552
February 26, 2021, 19:57 (GMT)
Cleanup: unused class member
February 26, 2021, 18:27 (GMT)
Fix crash with dyntopo on tools that use cached vertex info

Tools can cache data related to the mesh topology for later use. This
data is indexed by vertex index, so it will be invalid after dyntopo
changes the topology during the stroke.

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D10550
February 26, 2021, 16:38 (GMT)
CMake/deps: Fix LLVM and OSL builds

This commit is addition to D10212. Apple arm64 support was left out in that patch.
February 26, 2021, 16:15 (GMT)
Fix (unreported) missing 3DView update after some Outliner Override operations.
February 26, 2021, 15:32 (GMT)
Cleanup: Use find_first_not_of.
February 26, 2021, 14:36 (GMT)
Fix: Compile issue Windows.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021