Blender Git Commits

Blender Git "master" branch commits.

Page: 881 / 5574

March 5, 2020, 16:51 (GMT)
Fluid: Optimization in mesh generating loop

No need to have three separate loops for vertices, normals and speed vectors. Since all of them loop over the vertex count, a single loop can be used.
March 5, 2020, 16:32 (GMT)
Cleanup: Move std::deque to depsgraph_type.h

Since `std::deque` is used in a few areas of the Depsgraph, and an
upcoming patch adds one more, it's time it's considered as "commonly
used type".

No functional changes.
March 5, 2020, 15:30 (GMT)
Add an session-wise uuid integer to IDs.

"session-wise" here mean while editing a same .blend file. So creating
or opening a new one will reset the uuid counter. This should avoid any
overflow in practice.

Only IDs added to Main database get an uuid, runtime-only ones are not
affected.

This is intended to provide undo with a way to find IDs across several
'memory realms' (undo speedup project).

No behavior change is expected from this commit itself.

Part of T60695.

Differential Revision: https://developer.blender.org/D7007
March 5, 2020, 15:28 (GMT)
Fix T74393: Cycles crashes when both OSL and Optix Denoising are enabled

Enabling viewport denoising causes Cycles to use a multi-device, which always returned NULL when
asked for OSL memory and would subsequently crash. This fixes that by returning the correct OSL
memory pointer from the CPU device in the special viewport denoising multi-device.
March 5, 2020, 14:40 (GMT)
Fix T74332: selection sync replacing parent selection

Selecting certain child datablocks also selects the parent (e.g.
selecting a pose bone selects the armature). The base was selected, but
the outliner tree element was left unselected. The subsequent selection
sync would then deselect the parent base because it was not flagged as
selected in the outliner.

This led to issues like T74332 where selecting a pose bone in the
outliner did not show drivers in the driver editor unless the armature
was explicitly added to the selection afterwards.

The solution is to also flag the outliner elements as selected when
selecting parent bases.

Differential Revision: https://developer.blender.org/D7029
March 5, 2020, 13:58 (GMT)
Fluid: Fix initial velocities for new static emission mode

For now, disabling static mode whenever initial velocities are being used.
March 5, 2020, 13:22 (GMT)
Fluid: More optimizations in smoke / liquid scripts

Reduced extrapolation distances, no need to extrapolate that far.
March 5, 2020, 11:36 (GMT)
Fluid: Diffusion settings now optional

For optimization purposes these settings need to be enabled explicitly from now on.
March 5, 2020, 11:25 (GMT)
EEVEE: Render Passes Blending

Changed the blending mode to full blending. I found the issue when
during development of a material pass containing alpha values.
March 5, 2020, 11:21 (GMT)
Adaptive Sampling for Cycles.

This feature takes some inspiration from
"RenderMan: An Advanced Path Tracing Architecture for Movie Rendering" and
"A Hierarchical Automatic Stopping Condition for Monte Carlo Global Illumination"

The basic principle is as follows:
While samples are being added to a pixel, the adaptive sampler writes half
of the samples to a separate buffer. This gives it two separate estimates
of the same pixel, and by comparing their difference it estimates convergence.
Once convergence drops below a given threshold, the pixel is considered done.

When a pixel has not converged yet and needs more samples than the minimum,
its immediate neighbors are also set to take more samples. This is done in order
to more reliably detect sharp features such as caustics. A 3x3 box filter that
is run periodically over the tile buffer is used for that purpose.

After a tile has finished rendering, the values of all passes are scaled as if
they were rendered with the full number of samples. This way, any code operating
on these buffers, for example the denoiser, does not need to be changed for
per-pixel sample counts.

Reviewed By: brecht, #cycles

Differential Revision: https://developer.blender.org/D4686
March 5, 2020, 10:41 (GMT)
Fix T74446: Liquid Inflow Does Not Work

Somehow this was forgotton in the optimization patch a5c4a44df67e.
March 5, 2020, 09:58 (GMT)
Initial step for IDTypeInfo refactor 'cleanup' project.

Introduce new IDTypeInfo structure.

Each ID type will have its own, with some minimal basic common info,
and ID management callbacks.

This patch only does it for Object type, for demo/testing purpose.
Moving all existing IDs is a goal of next "cleanup Friday".

Note that BKE_idcode features should then be merged back into BKE_idtype -
but this will have to be done later, once all ID types have been properly
converted to the new system.

Another later TODO might be to try and add callbacks for file read/write,
and lib_query ID usages looper.

This is part of T73719.

Thanks to @brecht for initial idea, and reviewing the patch.

Differential Revision: https://developer.blender.org/D6966
March 5, 2020, 09:46 (GMT)
Cleanup: Clarified comment

No functional changes.
March 5, 2020, 07:58 (GMT)
Fix T74431: EEVEE AO Render Pass

Missing code-path in recent refactoring.
March 5, 2020, 04:24 (GMT)
Addons: Allow a user manual url prefix in doc_url

This was raised in T74017, the issue being that we point to `/dev`
version of the manual for the addons when we want to point to a specific
version instead.

Instead of manually updating the URL every release we can do this.

The `bl_info` for addons will need to be updated in the format of
`'doc_url':
{BLENDER_MANUAL_URL}/addons/import_export/scene_gltf2.html",`

Differential Revision: https://developer.blender.org/D6995
March 5, 2020, 00:45 (GMT)
Addons: deprecate 'wiki_url'

When running with debug enabled ('-d' argument),
warnings are printed for add-ons which are not yet updated.

Reminder to name things based on what they do,
not the technologies they use :)
March 4, 2020, 22:43 (GMT)
Fix RNA runtime warning from recent commit
March 4, 2020, 22:41 (GMT)
UI: Fluid: Fix wrong uses of enabled
March 4, 2020, 22:41 (GMT)
UI: Fluid: Viewport Display

Cleanup the order of properties and hide sub setting as they were
confusing before.
March 4, 2020, 22:41 (GMT)
UI: Fluid Group Liquid/Gas Panels

Part of T73617

Differential Revision: https://developer.blender.org/D6994
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021