Blender Git Loki

Kaikki Blender Git kommitit.

Page: 999 / 8462

January 14, 2021, 14:55 (GMT)
Merge branch 'blender-v2.92-release'
January 14, 2021, 14:52 (GMT)
Geometry Nodes: don't delete existing attribute before new attribute is computed

This fixes the behavior of some nodes when the same attribute
name is used for input and output. If both attributes have a
different type, they can't exist at the same time. Therefore,
the input attribute has to be removed in order to create the
output attribute.

Previously, the input attribute was remove before it was used
in any computations. Now, the output is written to a temporary
buffer and only later saved in the geometry component. This
allows both attributes to coexist within the node.

The temporary attribute is only create when necessary. The
normal case without name collisions still works the same
as before.

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

Ref T83793.
January 14, 2021, 14:19 (GMT)
Merge branch 'blender-v2.92-release'
January 14, 2021, 14:16 (GMT)
Geometry Nodes: extract function for adding attributes in distribute node

This shouldn't have any functional changes.
January 14, 2021, 14:10 (GMT)
Merge branch 'master' into greasepencil-object
January 14, 2021, 14:09 (GMT)
GPencil: Spread option removed

This was an experimental feature and the result is not what we expected.
January 14, 2021, 13:54 (GMT)
Fix T84167: Saving half-float EXR might result in NaN pixels

Clamp value to the -HALF_MAX .. HALF_MAX.

The non-clamped values were causing NaN and inf values saved to
the file, which was the root cause of glare node giving unexpected
result.

The nan/inf on overflow is something mentioned in the half data
type in OpenEXR header.

Differential Revision: https://developer.blender.org/D10105
January 14, 2021, 12:45 (GMT)
Fix various issues with regions in Asset Browser

Fixes a number of glitches, e.g. the sidebar disappearing when selecting an
asset or wrong AZones (the little chevrons to indicate a hidden region).

There were a couple of issues:
* Execution region was created, but not used.
* If an execution region already existed when refreshing the area, it was
tagged as hidden, not removed.
* The sidebar was always set to be hidden on refreshes.
* When toggling from Asset Browser to File Browser as regular editor (i.e. not
opened temporary via Ctrl+O or such), the sidebar region wasn't removed.

Adresses T83644.
January 14, 2021, 12:14 (GMT)
Tests: skip OSL render tests in build without OSL

Differential Revision: https://developer.blender.org/D9990
January 14, 2021, 12:14 (GMT)
Tests: enable bake and shader raytracing tests for OptiX

These are now supported and so can be tested.

Also refactor the code a bit to move Cycles specific blacklist out of generic
render test code.
January 14, 2021, 12:13 (GMT)
Merge branch 'master' into temp-gpencil-interpolate
January 14, 2021, 11:57 (GMT)
GPencil: Allow small resolution for Fill tool

Now the resolution can be reduced to get less details. This is very useful for doing storyboards to get a quick fill of any character.

Following UI review, the name "Resolution" has been changed to "Precision" because is more clear.

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

January 14, 2021, 11:44 (GMT)
Geometry Nodes: output color from Attribute Color Ramp node

The other output types did not work currently anyway.
There is not a significant benefit in somehow deducing the output
attribute type from the existing attribute types.
January 14, 2021, 11:02 (GMT)
Cleanup: ed_undo: naming of parameters, const, etc.

No behavrioral change expected here.
January 14, 2021, 11:02 (GMT)
Cleanup/refactor: Remove logically broken code from GPencil undo.

`ED_undo_gpencil_step` only support valid undo step direction, passing
step name here is useless and only add confusion to what works or not.

Undo by step name or step index is fully not supported by GPencil undo
mode currently.

Note that since GPencil undo mode does not seem to ever be used anyway,
this is not an urgent issue in practice, but this needs to be cleaned up
at some point. See also T84703.
January 14, 2021, 10:42 (GMT)
Merge remote-tracking branch 'origin/blender-v2.92-release'
January 14, 2021, 10:38 (GMT)
MeshCache: add error handling to `fread()` calls

Handle return value of `fread()`, by showing an error message when the
file cannot be read from and stopping further processing. Not only is
error handing a good idea, it also prevents GCC from warning that the
return value of `fread()` should not be ignored.

This is similar to {D9916}.

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D10079
January 14, 2021, 10:37 (GMT)
Tracking: Make transform cancel use explicit frame number

Before transform cancel will request marker at a current frame number
and restore transform flags to it. This worked fine if there was only
one marker from track in the transform data. This did not work correct
when multiple markers from track were added to transform data.

This allows to implement proportional editing in the clip editor.
January 14, 2021, 10:37 (GMT)
Tracking: Fix wrong projection for post-draw pass

Allows to draw proportional editing circle at a proper location.
January 14, 2021, 10:37 (GMT)
Tracking: Re-duplicate logic used to count and initialize data

Allows to easily implement more comprehensive checks about which
markers get added to the transformation context.

No user measurable changes are expected, purely house-keeping to
ease an upcoming development.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021