Blender Git Commits

Blender Git "master" branch commits.

Page: 264 / 5574

May 24, 2021, 12:31 (GMT)
Cleanup: Refactor PlaneTrack and PlaneDistort operations

Deduplicates code by introducing a PlaneDirtortBaseOperation for common logic.

Reviewed By: #compositing, jbakker

Differential Revision: https://developer.blender.org/D11273
May 24, 2021, 11:02 (GMT)
Nodes: move shader curves node to C++

Prepare node for conversion to Geometry Nodes.

There should be no functional changes.

Reviewed By: JacquesLucke, LazyDodo

Differential Revision: https://developer.blender.org/D11226
May 24, 2021, 10:36 (GMT)
Fix T88524: GPencil PDF does not take into account the marker camera

The camera was not checked before doing the export.
May 24, 2021, 03:57 (GMT)
Fix T88466: Sound strips prevent strip rendering

When sound strip is above another strip such as movie strip, it prevents
from rendering movie strip.

This bug was introduced in 0b7744f4da66. Function `must_render_strip()`
checks if there is any strip with `SEQ_BLEND_REPLACE` blending and
considers this strip as lowest strip in stack. Sound strips do have this
blend mode set, which caused the bug.

Remove all sound strips and muted strips from stack collection before
checking with `must_render_strip()` function
May 23, 2021, 19:31 (GMT)
UI: Use title case for labels
May 23, 2021, 17:57 (GMT)
Docs: Add readme for mikktspace
May 22, 2021, 04:53 (GMT)
Cleanup: remove redundant property for transfer_mode key-map item

As the property isn't saved and defaults to disabled,
there is no need to set it.
May 22, 2021, 03:14 (GMT)
Cleanup: tweaks for Object Non-modal keymap

Simplify adding non-legacy keymap items.
Revision 2175cbe by Hans Goudey
May 21, 2021, 21:28 (GMT)
Cleanup: Move curve draw cache implementation to C++

I'd like to use this file to draw curves from geometry nodes, which
would otherwise require implementing a C API. The changes in this
commit are minimal, mostly just casts and changing to nullptr.

Differential Revision: https://developer.blender.org/D11350
Revision 2521e17 by Hans Goudey
May 21, 2021, 18:44 (GMT)
Merge branch 'blender-v2.93-release'
May 21, 2021, 18:43 (GMT)
Fix T87357: Missing update after removing socket

The CoW copy of the node group was not updated correctly after it
changed. Arguably, tagging the node tree could also be part of
`ntreeUpdateTree` (which needs to be called after changes to the
node tree anyway). However, there are many instances where the
depsgraph is tagged explicitly after `ntreeUpdateTree` is called,
so it should be fine here as well. This is similar to what is done
in `snode_dag_update`.

Differential Revision: https://developer.blender.org/D11342
Revision 9c4ecef by Wayde Moss
May 21, 2021, 17:24 (GMT)
Fix T88375: Bone Size Small After V3D.View_All

The wrong matrix function was used and overwrote the custom bone shape
scale instead of reading from it.

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D11330
May 21, 2021, 16:34 (GMT)
Fix T88384: Improved Win32 Window Sizing and Positioning

When creating Win32 windows, the sizes and placements can be out by a
small amount, mostly noticeable near monitor edges. This is because
Windows 10 includes a thin invisible border (typically 7 pixels) when
determining position. Therefore the correct values can sometimes be
just outside the monitor bounds, but we clamp them at those bounds.

This patch fixes this by first clamping the requested values to monitor
bounds, adjusting for window chrome with AdjustWindowRectEx(), and then
using those adjusted values in CreateWindowExW().

see D11314 for more details.

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

Reviewed by Ray Molenkamp
May 21, 2021, 15:22 (GMT)
Fix particle ID init not creating particle deflect data.

This data (the force fields) are expected to always be there, but they
are currently created on the fly by RNA accessors (typically from UI
draw code), which is extremely wrong way to do it.

Differential Revision: https://developer.blender.org/D11341
May 21, 2021, 15:22 (GMT)
Fix some RNA physics accessors creating data.

Accessing data through RNA should never implicitely create it. Objects'
and particles' forcefields and collision settings were doing this.

Note that UI code also had to be tweaked to properly handle `None`
(NULL) cases.

Differential Revision: https://developer.blender.org/D11341
May 21, 2021, 15:00 (GMT)
GPencil: Speed up Occlude Eraser

This is an initial change to speed up the calculation of the Occlude eraser. In the future, we can add more optimizations, but at least this increase speed.

Intead to check always the 3 points, the check is skipped if it's not required.

Base in a solution by Philipp Oeser.

This is related to T88412

May 21, 2021, 13:09 (GMT)
Cleanup: use nullptr
May 21, 2021, 12:23 (GMT)
Cleanup: spelling

Includes fixes to misspelled function names.

Ref D11280
May 21, 2021, 10:43 (GMT)
Fix T85752: Collection Instance Crash when instancing collections with disabled subcollections

Root of the issue was actually hidden deep in depsgraph itself: it would
not properly update all of its COW IDs using a datablock when depsgraph
decides to evaluate or un-evaluate it.

This would lead to evaluated IDs pointing to either:
- orig IDs when there was an evaluated version of those (annoying bug,
but not a crashing one).
- old address of previously evaluated IDs that no longer exists in the
depsgraph (causing the crash from the report e.g.).

This commit adds an extra step at the end of nodes building, that goes
over all of already existing IDs in the depsgraph to check whether they
do one of the two things above, and tag them for COW update if so.

NOTE: This only affects depsgraph (re-)building, not its evaluation.
This remains consistent with the fact that operations that may change
the depsgraph content (like Collection exclusion etc.) need to trigger a
rebuild.

NOTE: Performances: Worst case scenarii, like (un-)excluding a whole
character collection in a production file, lead to 5% to 10% extra
processing time in depsgraph building. Most of it comming from extra COW
processing (in depsgraph's update in `build_step_finalize`), the detection
loop itself only accounts for 1% to 2% of the whole building time.

Maniphest Tasks: T85752

Differential Revision: https://developer.blender.org/D10907
May 21, 2021, 09:19 (GMT)
Cleanup: Use named unused arguments in Cycles Device
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021