Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 414 / 5574

January 26, 2021, 14:32 (GMT)
Fix T85048: Cycles sculpt vertex color issues after recent changes

Attribute fields were not fully copied.

Ref D10208
January 26, 2021, 14:13 (GMT)
Fix T85038: No curve is "active" after selecting all curves

Check for selection status beforec learing the "active" flag from an
FCurve. This allows the "Select All Curves" operator to retain what is
seen as the active curve.
January 26, 2021, 13:39 (GMT)
Cycles standalone: fix missing dependencies in CMake files

Also set default CYCLES_INSTALL_PATH to CMAKE_INSTALL_PREFIX.

By default with a `make cycles` this will build to ${CMAKE_BINARY_DIR}/bin

Differential Revision: https://developer.blender.org/D9961
January 26, 2021, 13:39 (GMT)
Fix Cycles standalone compilation following API changes

The changes to the socket API were not applied to the standalone app.

Also modify Camera.compute_auto_viewplane() to use Camera.full_width and Camera.full_height as it is not possible to publicly access Camera.width and Camera.height anymore, so the aspect ratio could be computed with stale data.

Differential Revision: https://developer.blender.org/D9961
January 26, 2021, 13:38 (GMT)
Merge remote-tracking branch 'origin/blender-v2.92-release'
January 26, 2021, 13:27 (GMT)
Asset Browser: fix context properties reported to Python

Change `"active_id"` to `"id"` so that tab completion in the asset browser
context returns the correct properties.

055ef5df615632f81e30e39ae47b42a87af350ca renamed the `active_id` property
to `id`, but `dir(thecontext)` still returned `"active_id"`.
January 26, 2021, 13:25 (GMT)
Viewport Rendering: Don't clamp when overlays are disabled.

During viewport rendering the color values were clamped in order to
apply the overlay on top of it. This clamping would show the scene
colors washed out.

This patch adds a work around to skip the clamping when the overlays are
turned off.

Parial fix for {T77909}
January 26, 2021, 11:48 (GMT)
GPU: Enable HQ normals workaround for any AMD Drivers on Polaris.
January 26, 2021, 11:41 (GMT)
Merge branch 'blender-v2.92-release'
January 26, 2021, 11:38 (GMT)
Fix T84708: Versioning for Set Alpha node

The versioning code introduced in rB38df935c0985 skips the composite node
tree that is used by the scene thus not correctly versioning Set Alpha
nodes outside of node groups. This fix iterates through all node trees to
version all Set Alpha nodes.

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D10110
January 26, 2021, 11:30 (GMT)
GPU: Enable HQ normals workaround for AMD 21.1.1 driver.

AMD 21.1.1 still has the same issues as reported in T82856.
January 26, 2021, 11:09 (GMT)
Fix T84907: incorrect dirty mask after geometry join node

Hans noticed that these dirty flags are only used for normals currently
and that the edge flag is not used at all. This patch still applies the
"entire" fix with all four flags.

Differential Revision: https://developer.blender.org/D10193
January 26, 2021, 11:05 (GMT)
Fix T84935: boolean custom data layers not saved correctly

The issue was that boolean custom data layers were not written to files,
because the dna struct name `bool` does not exist. Adding a struct that
just contains a `bool/uint8_t` does not seem to be possible, it looks like
the minimum dna struct size is 4 bytes.

The proposed solution has two parts:

1. Write the custom data layer using `BLO_write_raw` instead of
`BLO_write_struct_array_by_name`.
2. When loading a file, reinitialize any custom data layer that was
not saved correctly (this is just a fix for existing files).

Differential Revision: https://developer.blender.org/D10194
January 26, 2021, 11:04 (GMT)
Merge branch 'blender-v2.92-release'
January 26, 2021, 10:56 (GMT)
Fix T85011: "Allow Execution" reloads the wrong file when recovering

Support custom revert actions, necessary for recover operations
to be able to reload the file with scripts enabled.
January 26, 2021, 08:44 (GMT)
ed_undo refactor: split/remove `ed_undo_step_impl`.

This function was doing too many things, with behaviors fairly different
depending on its input parameters. This was making the code fragile and
hard to follow.

Split it in three:
* `ed_undo_step_pre` does the common actions before we actually undo
data.
* `ed_undo_step_post` does the common actions after we have undone/redone
data.

Then, `ed_undo_step_direction`, `ed_undo_step_by_name` and
`ed_undo_step_by_index` do their actual specific actions, with their own
logic.

Note: Since the actual behavior of those three funtions is fairly
different (the first only undo/redo one effective step, the second is only
supposed to **undo** //before// given named step, and the third actually
undo/redo until given indexed step become active), we could also find
better names for those. right now, it sounds like they are doing the
same thing, with just different ways to specify the target step.

Note: This is part of on-going refactor work on undo system, see T83806.

Differential Revision: https://developer.blender.org/D10112
Revision 0d9f79b by Hans Goudey
January 26, 2021, 05:47 (GMT)
Cleanup: Reduce variable scope, use LISTBASE_FOREACH macro
January 26, 2021, 04:38 (GMT)
Merge branch 'blender-v2.92-release'
January 26, 2021, 04:34 (GMT)
WM: add "use_scripts" to recover auto-save/session operators

Support recovering blend files with scripts enabled,
needed to fix T85011, can be useful in general too.

Adding this also resolves an assert in BKE_autoexec_match,
since it ran even when scripts were enabled.
Revision e9e054b by Hans Goudey
January 26, 2021, 04:20 (GMT)
Geometry Nodes: Add float2 to attribute complexity map
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021