Blender Git Loki

Blender Git commits from all branches.

Page: 205 / 2888

July 30, 2021, 14:56 (GMT)
Fix i18n utils_cli mistake.

Reported by James Monthea (@jmonteath), thanks.
July 30, 2021, 14:56 (GMT)
Fix compile issue.
July 30, 2021, 14:56 (GMT)
Fix T89881: ignore unavailable sockets when searching for link cycles
July 30, 2021, 14:56 (GMT)
Cleanup: replace BLI_assert(0 && "text") with BLI_assert_msg
July 30, 2021, 14:56 (GMT)
Cleanup: spelling
July 30, 2021, 14:56 (GMT)
Cleanup: replace BLI_assert(!"text") with BLI_assert_msg(0, "text")
July 30, 2021, 14:56 (GMT)
Cleanup: Split set_preview_visibilty.
July 30, 2021, 14:56 (GMT)
Fix bug in assert in delaunay test.

Assert was trying to say x coords of arcs lined up, and didn't do that.
July 30, 2021, 14:56 (GMT)
Cleanup: correct the comment in ghost

The same comments were written in clientToScreen and screenToClient in
GHOST. I corrected them.

Ref D11986
July 30, 2021, 14:55 (GMT)
Geometry Nodes: Curve Trim Node

This node implements shortening each spline in the curve based on
either a length from the start of each spline, or a factor of the
total length of each spline, similar to the "Start & End Mapping"
panel of curve properties.

For Bezier curves, the first and last control points are adjusted
to maintain the shape of the curve, but NURB splines are currently
implicitly converted to poly splines.

The node is implemented to avoid copying where possible, so it outputs
a changed version of the input curve rather than a new one.

Differential Revision: https://developer.blender.org/D11901
July 30, 2021, 14:55 (GMT)
Fix T89929: Crash when hiding in the render a previously keyframed volume

Regression introduced in {rBbfa3dc91b754}.

`ID_RECALC_GEOMETRY` should tag all operations of the `GEOMETRY`
component and not just the operation of node `GEOMETRY_EVAL_INIT`.
July 30, 2021, 14:55 (GMT)
Make it optional to track input->output mapping in delaunay_2d_calc.

Some uses of delaunay_2d_calc don't need to know the original verts,
edges, and faces that correspond to output elements.
This change adds a "need_ids" value to the CDT input spec, default true,
which tracks the input ids only when true.
The python api mathutils.geometry.delaunay_2d_cdt gets an optional
final bool argument that is the value of need_ids. If the argument
is not supplied, it is true by default, so this won't break old uses
of the API.

On a sample text test, not tracking ids save about 30% of the runtime.
For most inputs the difference will not be so dramatic: it only really
kicks in if there are a lot of holes.
July 30, 2021, 14:55 (GMT)
Update documentation string for mathutils.geometry.delaunay_2d_cdt.
July 30, 2021, 14:55 (GMT)
Cleanup: Make curve trim node code more semantically correct

The code used `Spline::LookupResult` in a way that referred to evaluated
points and control points interchangeably. That didn't affect the logic,
but the code became harder to read. Instead, introduce a local struct
to contain the data in a more obvious way.
July 30, 2021, 14:55 (GMT)
Fix: memcpy overlapping region ASAN warning in curve trim node
July 30, 2021, 14:55 (GMT)
Cleanup: remove unused MTex.pmapto, pmaptoneg & defines

These have not been in use since 2.57
fafbd9d71b95776d1c7583476de74fccefab7f10.
July 30, 2021, 14:55 (GMT)
Cleanup: remove unused pathlib import
July 30, 2021, 14:55 (GMT)
Cleanup: minor correction to delaunay_2d_cdt doc-string

Use more conventional syntax for default arguments.
July 30, 2021, 14:55 (GMT)
Fix T89941: No path`s bevel update, when I change bevel profile curve

Update was skipping the batch cache.
July 30, 2021, 14:55 (GMT)
Object update: Remove fallback from batch_cache_deform_tag

Falback is not really necessary, and causes
`BKE_object_data_batch_cache_dirty_tag` to run multithreaded in an
unsafe way.

No functional changes.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021