Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 204 / 5574

July 19, 2021, 20:05 (GMT)
Compositor: Full frame Mix node

Adds full frame implementation to this node operations.
No functional changes.
2.3x faster than tiled fallback on average.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11686
July 19, 2021, 20:05 (GMT)
Compositor: Full frame Brightness node

Adds full frame implementation to this node operation.
No functional changes.
2.4x faster than tiled fallback.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11677
July 19, 2021, 20:05 (GMT)
Compositor: Export operation results as debug option

When fixing issues, seeing operation results can be helpful for
detecting which operation went wrong.

This commit adds an option for exporting all operations results to
image files.
Exceptions are:
- Output operations: They are already exported or can be seen in UI.
- Constant operations: There are too many and is rarely useful.

They are exported to "<temp session folder>/COM_operations/"
with filenames "<operation class name>_<operation id>.png".
Only works on full frame execution mode.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11722
July 19, 2021, 19:26 (GMT)
Compositor: Full frame Ellipse Mask node

Adds full frame implementation to this node operation.
No functional changes.
3x times faster than tiled fallback.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11635
July 19, 2021, 18:06 (GMT)
Compositor: Buffer iterators

Currently we mostly iterate buffer areas using x/y loops or through
utility methods extending from base classes.

To simplify code in simple operations this commit adds wrappers for
specifying buffer areas and their iterators for raw buffers with any
element stride:
- BufferRange: Specifies a range of contiguous buffer elements from a
given element index.
- BufferRangeIterator: Iterates elements in a BufferRange.
- BufferArea: Specifies a rectangle area of elements in a 2D buffer.
- BufferAreaIterator: Iterates elements in a BufferArea.
- BuffersIterator: Simultaneously iterates an area of elements in an
output buffer and any number of input buffers.
- BuffersIteratorBuilder: Helper for building BuffersIterator adding
buffers one by one.
For iterating areas coordinates it adds `XRange` and `YRange` methods
that return `IndexRange`.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11882
Revision 582c553 by Julian Eisel
July 19, 2021, 16:28 (GMT)
Cleanup: Move asset library reference C++ wrapper to own files

Although currently only the asset list code uses the asset library
reference wrapper, it can stand on its own and may be used in more
places in the future. So I prefer to give it its own source & header
file.

Also removed unused includes, added proper namespaces as per our C++
style guidelines, and removed an unnecessary TODO comment.
Revision ebe32e0 by Hans Goudey
July 19, 2021, 15:56 (GMT)
Cleanup: Remove unused function, unused declaration
July 19, 2021, 14:05 (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.
July 19, 2021, 14:05 (GMT)
Fix some mesh edition macro operators incorrectly setting an empty description string.

No operator or macro should be missing description. But if they do, then
they should use NULL pointer, and not an empty string.

This behavior was already enforced (through an assert) for operators,
previous commit made it the same for macros.
July 19, 2021, 13:53 (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 19, 2021, 13:17 (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 19, 2021, 12:50 (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 19, 2021, 12:47 (GMT)
Fix T89941: No path`s bevel update, when I change bevel profile curve

Update was skipping the batch cache.
July 19, 2021, 01:57 (GMT)
Cleanup: minor correction to delaunay_2d_cdt doc-string

Use more conventional syntax for default arguments.
July 19, 2021, 01:30 (GMT)
Cleanup: remove unused pathlib import
July 19, 2021, 01:24 (GMT)
Cleanup: remove unused MTex.pmapto, pmaptoneg & defines

These have not been in use since 2.57
fafbd9d71b95776d1c7583476de74fccefab7f10.
Revision 83883ae by Hans Goudey
July 18, 2021, 23:24 (GMT)
Fix: memcpy overlapping region ASAN warning in curve trim node
Revision 75ae328 by Hans Goudey
July 18, 2021, 23:20 (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 18, 2021, 19:24 (GMT)
Update documentation string for mathutils.geometry.delaunay_2d_cdt.
July 18, 2021, 19:10 (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.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021