Blender Git Loki

Kaikki Blender Git kommitit.

Page: 674 / 8462

May 3, 2021, 02:31 (GMT)
fix missing update when reading attributes
May 3, 2021, 02:07 (GMT)
Pass context to wm_xr_session_actions_update()

Restores motion capture object autokeying functionality.
May 3, 2021, 02:04 (GMT)
Clang format
May 3, 2021, 00:49 (GMT)
USD Import: backward compatible light attributes.

Light attributes in USD v21.02 now have an inputs:
prefix (e.g., inputs:color, inputs:intensity, etc.).
Added logic to also read light attributes using the
old naming scheme (without the inputs: prefix)
for compatibility with older USD versions.
May 2, 2021, 23:44 (GMT)
Merge branch 'master' into cycles_procedural_api
May 2, 2021, 23:21 (GMT)
Cycles: use reference count to detect used shaders

Shaders are only compiled if they are used by some other Node (Geometry, Light, etc.).
This usage detection is done before updating the Scene, however it fails at detecting
Shaders used by Procedurals not known to Cycles (e.g. ones defined by third party
applications), as Procedurals are only updated after the shaders are compiled.

To remedy this, we now use the Node reference counting mechanism to detect whether a
Shader is used and therefore should be compiled.

This removes `ShaderManager::update_shaders_used` as it is not needed anymore, however,
since it would also update the Shader ids, this is now performed in
`ShaderManager::device_update`, and a new virtual `device_update_specific` method was
added to handle device updates for SVM and OSL.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D10965
May 2, 2021, 23:20 (GMT)
Cycles: add reference counting to Nodes

This adds a reference count to Nodes which is incremented or decremented
whenever they are added to or removed from a socket, which will help us
track used Nodes throughout the scene graph generically without having to
add an explicit count or flag on specific Node types. This is especially
useful to track Nodes defined through Procedurals out of Cycles' control.

This also modifies the order in which nodes are deleted to ensure that
upon deletion, a Node does not attempt to decrement the reference
count of another Node which was already freed or deleted.

This is not currently used, but will be in the next commit.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D10965
May 2, 2021, 21:29 (GMT)
* Added new paint API method paint_stroke_apply_subspacing, for various
things that need custom spacing (that is coaser than the brush radius),
and refactored the existing dyntopo spacing code to use it.

* Added option to topology rake to ignore brush falloff settings
(it forcibly uses Smooth falloff).

* Smooth and topology rake support custom spacing now.
+ This is especially important for the clay brush, which works
better at smaller spacings and with a bit of autosmoothing.
Now you can tell it to override the smooth spacing to be coarser,
leading to much better performance.

* Topology rake now has a projection setting similar to autosmooth
which defaults to 1.0 (to preserve current behavior).

The main motivation for this commit was to make topology rake work
better for normal brushes. This is now possible, however it tends to
make the brush slower and also the settings are a bit fiddly.
We might want to make dedicated brush presets for this.

Btw, the UI for brush settings are becoming a real mess. Help!
May 2, 2021, 20:40 (GMT)
Merge branch 'blender-v2.93-release'
May 2, 2021, 20:37 (GMT)
Fix T87554 Exact Boolean performance bug.

There was a quadratic algorithm extracting triangles from a coplanar
cluster. This is now linear.
Also found and fixed a bug in the same area related to the triangulator
added recently: it didn't get the right correspondence between new
edges and original edges.
May 2, 2021, 17:54 (GMT)
* Added a "projection" option to smooth/autosmooth. It works by
projection neighboring vertices onto the current smooth vert's normal
plane, multiplied by a "projection" factor. This is extremely similar
to what the surface laplacian produces, but is much simpler, uses
no temporary state and thus can be used in more places.
May 2, 2021, 16:11 (GMT)
Merge branch 'master' into temp-gpencil-bezier-stroke-type
May 2, 2021, 16:08 (GMT)
GPencil: Refactor dissolve

This change introduces a new BKE function to desolve curve points and
then refactors the dissolve operator to make use of this function. This
simplifies the code a lot.
May 2, 2021, 13:56 (GMT)
Merge branch 'blender-v2.93-release'
May 2, 2021, 13:51 (GMT)
GPencil: Fix unreported problem when save file in Curve Edit mode

This is related to T87905
May 2, 2021, 13:46 (GMT)
Merge branch 'master' into profiler-editor
May 2, 2021, 13:39 (GMT)
don't draw nodes that are out of range in the y direction
May 2, 2021, 13:14 (GMT)
correct profiler height
May 2, 2021, 12:58 (GMT)
don't compute y positions on every redraw
May 2, 2021, 12:07 (GMT)
improve profiler draw performance
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021