Blender Git Commit Log

All Blender Git commits.

Page: 636 / 8462

May 18, 2021, 09:58 (GMT)
Fix error calling select-camera without a 3D view
May 18, 2021, 09:47 (GMT)
Update with changes from D10943
May 18, 2021, 09:41 (GMT)
LineArt: Fix API Change.
May 18, 2021, 08:54 (GMT)
Fix bump and displacement in Cycles X

Those got accidentally broken by D11132 (and corresponding commit).

The `object_inverse_dir_transform()` needs to be adjusted so that it
gives correct result for objects which do not have motion (similar to
`object_dir_transform()`).

Differential Revision: https://developer.blender.org/D11241
May 18, 2021, 08:52 (GMT)
Fix possible NaN throughput in Cycles random walk

Based on asymptotic values of formulas when diffuse length is reaching
1 the throughput will be going to 0. So terminate the path early on
without causing numerical issues.

Just something I've notices with the Junk Shop scene while running
debugger for something else.

Differential Revision: https://developer.blender.org/D11237
May 18, 2021, 08:51 (GMT)
Merge branch 'master' into cycles-x
Revision 97f1e47 by Sergey Sharybin (master)
May 18, 2021, 08:13 (GMT)
Cycles: Avoid unnecessary data updates in viewport

The BlenderSync will do quite a bit of work on every sync_data() call
even if there is nothing changed in the scene. There will be early
outputs done deeper in the call graph, but this is not really enough to
ensure best performance during viewport navigation.

This change makes it so sync_data() is only used when dependency graph
has any update tags: if something changed in the scene the dependency
graph will know it. If nothing changed there will be no IDs tagged for an
update in the dependency graph.

There are two weak parts in the current change:

- With the persistent data there is a special call to ignore the check
of the dependency graph tags. This is more of a safety, because it is
not immediately clear what the correct state of recalc flags is.

- Deletion of objects is detected indirectly, via tags of scene and
collections.

It might not be bad for the first version of the change.

The test file used: {F10117322}

Simply open the file, start viewport render, and navigate the viewport.
On my computer this avoids 0.2sec spend on data_sync() on every
up[date of viewport navigation.

We can do way more granular updates in the future: for example, avoid
heavy objects sync when it is only camera object which changed. This
will need an extended support from the dependency graph API. Doing
nothing if nothing is changed is something we would want to do anyway.

Differential Revision: https://developer.blender.org/D11279
May 18, 2021, 07:48 (GMT)
Merge branch 'blender-v2.93-release'
May 18, 2021, 07:44 (GMT)
Merge remote-tracking branch 'origin/master' into temp-lineart-contained
May 18, 2021, 07:38 (GMT)
Fix error in grease pencil flip color operator

- Used try/except instead of a poll function.
- The error case referenced a non-existent error handling module.

Prefer poll functions over exception handling where possible,
also having an operators logic in a try block isn't good practice
as it can hide more serious errors in the code.

Note that duplicate pencil settings access should be moved into a
utility function. This can be part of a separate cleanup.
May 18, 2021, 07:16 (GMT)
Fixed comments still mentioning srgb.
May 18, 2021, 06:59 (GMT)
Merge branch 'master' into temp-explicit-colors
May 18, 2021, 06:59 (GMT)
Performance: GPU Batch Baseline TestCase.

When using a dense mesh and transforming a small number of verts the mesh received a copy-on-write signal. This will free all GPU batches. No reuse is currently possible.
This patch adds a test case that can be used as a baseline to optimize the cache construction in the draw module.

Differential Revision: https://developer.blender.org/D11255
May 18, 2021, 06:58 (GMT)
Changed Srgb to Theme.
May 18, 2021, 05:08 (GMT)
Fix missing hair when the emitter is not shown.
May 18, 2021, 04:16 (GMT)
PyAPI: allow any vector sequence for poly_3d_calc(..)

Previously only vectors were accepted for the second point argument:
mathutils.interpolate.poly_3d_calc()
May 18, 2021, 04:16 (GMT)
Cleanup: use const casts in mathutils API
May 18, 2021, 04:10 (GMT)
Merge branch 'master' into cycles_procedural_api
May 18, 2021, 04:09 (GMT)
Cleanup: format
May 18, 2021, 03:39 (GMT)
Merge branch 'blender-v2.93-release'
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021