Blender Git Loki

Kaikki Blender Git kommitit.

Page: 396 / 8462

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.
July 30, 2021, 14:55 (GMT)
Revert "Depsgraph: Implement 'ID_RECALC_GEOMETRY_DEFORM'"

This reverts commits
bfa3dc91b75407b063f2ac991b176d98c050f92d,
52b94049f2a71a74f52247f83657cf3a5c8712b4,
ae379714e4f1eca74f5f77532a6e959f29445236,
a770faa811ee62837eb540b0bd83ca0770f16663,
4ed029fc02b022cb5ff28ed3ce70992c450d2be5,
101a493ab556c6597ac91fba204059be67b35990 and
62a2faa7ef39130446716d7a06215cd1df1eb2ac.

And fixes T89955.

Changing the dependency graph is a can of worms and the result is
a kind of unpredictable.

A different solution will be planned.
July 30, 2021, 14:55 (GMT)
Cleanup: Separate keyframes_draw and keyframes_keylist.

The keylist functions are used in other places for none drawing related
stuff. Fe pose_slide uses it.
July 30, 2021, 14:55 (GMT)
Fix broken 'undocumented' case in registration of Macro opertators.

Code dealing with macro operators missing description field was slightly
different than the one from Operator registration.

This lead to invalid memory accesses in some python introspection cases
like the i18n messages extraction code in `bl_i18n_utils` module.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021