Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

2 hours 5 min ago
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.
10 hours 15 min ago
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.
10 hours 15 min ago
Fix T86028: Crash when loading file with missing libraries.

Regression from rB53d13b6f5387c68.
Revision 4b16cb1 by Falk David
10 hours 19 min ago
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:
11 hours 22 min ago
Fix error converting simulated events press/release to clicks

Move logic that sets previous event state into WM_event_add_simulate.
16 hours 57 min ago
RNA: add member to access RegionView3D

Without this, the RegionView3D could only be accessed from
`context.region_data`, not the region.
1 day and 1 hour ago
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:
1 day and 1 hour ago
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:
1 day and 2 hours ago
Cleanup: unused class member
1 day and 4 hours ago
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:
1 day and 5 hours ago
CMake/deps: Fix LLVM and OSL builds

This commit is addition to D10212. Apple arm64 support was left out in that patch.
1 day and 6 hours ago
Fix (unreported) missing 3DView update after some Outliner Override operations.
1 day and 6 hours ago
Cleanup: Use find_first_not_of.
1 day and 7 hours ago
Fix: Compile issue Windows.
1 day and 9 hours ago
Cryptomatte: Manifest Parsing.

This patch adds manifest parsing to Cryptomatte. Normally when loading
cryptomatte layer from an OpenEXR file the manifest contains data to
convert a hash to its original name of the object/material. In the
future we want to use this to support lookup of cryptomatte
hashes and show it to the user.

Currently this logic isn't available to users (for now), but is required
by D3959 where a new cryptomatte workflow is implemented.
1 day and 10 hours ago
GPencil: Cancel Fill if the filled area is not closed

Fill only if it never comes in contact with an edge. It is better not to fill than to fill the entire area, as this is confusing for the artist.

Differential Revision:
1 day and 10 hours ago
Assets: Preview rendering for Action datablocks

Render previews for Action datablocks by rendering the scene camera with
the Workbench (solid) engine. The //look// can be configured by setting
the scene's render engine to Workbench and editing the scene's shading

It is assumed that the pose has already been applied and that the scene
camera is capturing the pose. In other words, the render function just
renders from the scene camera without evaluating/applying the Action
stored in `preview->id`. The ID is only used to determine its type and
to store the resulting preview.

Not all code paths that lead to the `action_preview_render()` function
actually provide a depsgraph. The "Refresh Asset Preview" button
(`ED_OT_lib_id_generate_preview`) does, but `WM_OT_previews_ensure` does

Reviewed By: Severin

Differential Revision:
1 day and 11 hours ago
CMake/Deps: Python 3.9.2

Straight up minor version bump, no anomalies to report

Reviewed By: sebbas, sybren

Differential Revision:
1 day and 11 hours ago
UX: Readfile: Libraries error messages: avoid wall of warnings.

When a lot of libraries or linked IDs were missing/not found when
loading a .blend file, Blender used to show one warning report for each
missing item, potentially covering the user's screen with a giant
unuable popup.

Now it will instead generate a single warning with amount of missing lib
files and linked IDs. Each missing item is still reported individually,
but only as `INFO`, so it will still show up in the console or Info editor.
1 day and 16 hours ago
Cleanup: use early exit
Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021