Blender Git Loki

Kaikki Blender Git kommitit.

Page: 614 / 8462

May 27, 2021, 09:24 (GMT)
Merge branch 'master' into sculpt-dev
May 27, 2021, 08:49 (GMT)
Fix (studio-reported) infinite loop in resync code.

Very stupid mistake in libraries indirect-level building code, was not
skipping 'loop-back' ID pointers.

Note that we also need some level of checks for the case where there
would be an actual dependency loop between libraries, this is not
supposed to be possible, but better be safe than sorry. Will add in next
commit.
May 27, 2021, 08:47 (GMT)
Merge branch 'master' into temp-attribute-processor
May 27, 2021, 08:46 (GMT)
Cleanup: inconsistent parameter name
May 27, 2021, 08:42 (GMT)
Merge branch 'master' into temp-attribute-processor
May 27, 2021, 08:41 (GMT)
Cleanup: inconsistent parameter name
May 27, 2021, 07:59 (GMT)
Cleanup: spelling
May 27, 2021, 07:59 (GMT)
Cleanup: specify array sizes, remove warnings in comments
May 27, 2021, 07:59 (GMT)
Fix incorrect BLI_snprintf usage

Event though in practice this wasn't causing problems as the fixed size
buffers are generally large enough not to truncate text.

Using the result from `snprint` or `BLI_snprintf` to step over a fixed
size buffer allows for buffer overruns as the returned value is the size
needed to copy the entire string, not the number of bytes copied.

Building strings using this convention with multiple calls:

ofs += BLI_snprintf(str + ofs, str_len_max - ofs);

.. caused the size argument to become negative,
wrapping it to a large value when cast to the unsigned argument.
May 27, 2021, 07:59 (GMT)
Cleanup: simplify logic for copying vector button as text

An arbitrary size offsets was used in float_array_to_string,
simplify the loop, use exact size limits.

Also rename variables so it's clear which array the length apply to.
May 27, 2021, 07:58 (GMT)
Nodes: fix material node copied over when socket is copied

This was missing from rB207472930834a2916cf18bbdff51bcd77c6dd0c0.
May 27, 2021, 07:43 (GMT)
Geometry Nodes: disable multi-threading in evaluator for now

A deadlock could happen under certain circumstances when
geometry nodes is used on multiple objects.
Once T88598 is resolved, multi-threading can be enabled again.

Differential Revision: https://developer.blender.org/D11405
May 27, 2021, 06:44 (GMT)
Undo: resolve inefficient edit-mesh memory use with multiple objects

When editing more than 1 object at a time, complete copies of each mesh
were being stored. Now the most recent undo-data for each mesh is used
(when available).
May 27, 2021, 06:44 (GMT)
Cleanup: use UndoMesh as links instead of allocating LinkData

While the advantage isn't large,
it's simpler to skip the intermediate link.

Also remove unused next and previous struct members
from MeshUndoStep_Elem.
May 27, 2021, 02:52 (GMT)
World: Add static default world

This is a small convenience. This let the render engine use this
default world if scene has no world.

World is black to keep the same behavior as before.
Revision a10e41b by Hans Goudey (master)
May 27, 2021, 02:32 (GMT)
Cleanup: Remove completed "TODO" comment

Since rBb67fe05d4bea, the dependency graph supports relations
on collection geometry, and the nodes modifier uses that.
Revision b132dd0 by Hans Goudey (master)
May 27, 2021, 02:22 (GMT)
Cleanup: Simplify spline point attribute materialize functions

- Iterate over the mask directly instead of using an index.
- Use Span slice and copy_from instead of a lower level function.
Revision c97b621 by Hans Goudey (master)
May 27, 2021, 02:14 (GMT)
Geometry Nodes: Support interpolation between curve domains

This commit adds interpolation from the point domain to the spline
domain and the other way around. Before this, spline domain attributes
were basically useless, but now they are quite helpful as a way to use
a shared value in a contiguous group of points.

I implementented a special virtual array for the spline to points
conversion, so that conversion should be close to the ideal performance
level, but there are a few ways we could optimize the point to spline
conversion in the future:
- Use a function virtual array to mix the point values for each spline
on demand.
- Implement a special case for when the input virtual array is one of
the virtual arrays from the spline point attributes. In other words,
decrease curve attribute access overhead.

Differential Revision: https://developer.blender.org/D11376
May 27, 2021, 02:02 (GMT)
Win: Add launcher to hide the console window flash

This patch fixes a long-standing complaint from users:
the console window shortly flashing when they start
blender.

This is done by adding a new executable called
blender-launcher.exe which starts blender.exe while
hiding the console.

Any command line parameters given to blender-launcher
will be passed on to blender.exe so it'll be a drop
in replacement.

Starting blender.exe on its own will still function as
a proper console app so no changes required here for
users that use blender for batch processing.

Notable changes:

Registering blender (-R switch) will now register
blender-launcher as the preferred executable.

This patch updates the installer and updates the
shortcuts to start blender-launcher.exe rather
than blender.exe

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

Reviewed by: brecht, harley
May 27, 2021, 01:52 (GMT)
Cleanup: Specify amount of buffers through preprocessor directives
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021