Blender Git Commits

Blender Git "master" branch commits.

Page: 1476 / 5574

November 7, 2018, 14:20 (GMT)
Cycles: Rearranged macros in kernel_types.h to fix Embree build.
November 7, 2018, 14:06 (GMT)
Depsgraph: Ensure dependency cycle does not clear runtime memory

If there was a dependency cycle involved, it was possible that pchan
array will be freed before all bones are evaluated. Now clear is
done in a dedicated node, which is never a part of dependency cycle.
November 7, 2018, 13:54 (GMT)
Merge branch 'master' into blender2.8
November 7, 2018, 13:54 (GMT)
Fix T57390: properties editor crash creating new scene in some cases.
November 7, 2018, 13:38 (GMT)
Fix build with OSL, remove unneeded file after Embree changes.
November 7, 2018, 13:30 (GMT)
Merge branch 'master' into blender2.8
November 7, 2018, 13:04 (GMT)
Physics baking: tag interface locked during backing

This is a variation of older hach which was setting is_rendering
to truth to tell window manager to not do dependency graph update.

In the nowadays reality window manager is supposed to do dependency
graph update during rendering, that was the whole purpose of CoW
project. This works fine for rendering, since render engines has
their own dependency graphs.

Physics, on the other hand, is using same dependency graph as used
for the viewport, and what's worse: it modifies objects from it.
For example, in a single threaded evaluation ASAN instantly catches
case when cached BVH constructed by smoke is referencing looptri
layer which is freed by viewport's update.

Now we are locking interface, allowing only a subset of navigation
operators to run. This seems to be safest way of dealing with the
problem. There are following variations which we can consider
doing:

- Allow viewport navigation, which will require making it so draw
manager does not write to the objects.

A bit dangerous, since smoke simulation might in theory modify
data which is also used by a draw manager.

- Make physics simulation to have own dedicated dependency graph,
solving all threading conflicts all together.

This fixes crash when baking smoke. Steps to reproduce:

- Call "Quick Smoke"
- In smoke panel, click "Bake".
November 7, 2018, 13:04 (GMT)
Cleanup, more meaningful and up to date comments
November 7, 2018, 13:04 (GMT)
Skip dependency graph update when interface is locked

This is a variation of legacy dependency graph update check based on
G.is_rendering. Now it is ensured, that locked interface does not
tempter around with the dependency graph.
November 7, 2018, 13:04 (GMT)
Cleanup, indentation
November 7, 2018, 13:04 (GMT)
Cycles: Fixed a warning.
November 7, 2018, 12:53 (GMT)
Cycles: Fixed OpenCL render after the Embree checkin.
November 7, 2018, 12:43 (GMT)
Fix 'Set and Use 3D Cursor' normal editing command.

Was missing a return of OPERATOR_RUNNING_MODAL for that subcommand.
November 7, 2018, 12:25 (GMT)
Workbench: Scale shadowing based on density

This makes previewing thick smoke a bit more plausible with better shadows.

The shadowing is clamped so that nothing is completely black. That said the
lower bound is pretty low.

This is not an option but could become one if users do not like it in
all situations.
November 7, 2018, 12:25 (GMT)
Workbench: Add cubic filtering for smoke simulation

The option is per domain and only affects the solid / xray / wireframe view.

Eevee is not yet supported.
November 7, 2018, 12:25 (GMT)
Eevee: Fix volumetric broken after recent change
November 7, 2018, 11:58 (GMT)
Cycles: Added Embree as BVH option for CPU renders.

Note that this is turned off by default and must be enabled at build time with the CMake WITH_CYCLES_EMBREE flag.
Embree must be built as a static library with ray masking turned on, the `make deps` scripts have been updated accordingly.
There, Embree is off by default too and must be enabled with the WITH_EMBREE flag.

Using Embree allows for much faster rendering of deformation motion blur while reducing the memory footprint.

TODO: GPU implementation, deduplication of data, leveraging more of Embrees features (e.g. tessellation cache).

Differential Revision: https://developer.blender.org/D3682
November 7, 2018, 10:31 (GMT)
Fix installing Blender due to missing icons.
November 7, 2018, 10:14 (GMT)
CMake: missed removing from file list
November 7, 2018, 07:41 (GMT)
Dopesheet: correctly use floating point threshold in ActKeyColumn tree.

After some thinking, since the tree itself does always use floating
point numbers, it is better to use the threshold - but correctly.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021