Blender Git Commits

Blender Git "master" branch commits.

Page: 284 / 5574

May 5, 2021, 12:50 (GMT)
Fix kernel loading time accounted twice in render progress

The render session is keeping track of the scene update, which includes
kernel loading time.

This fixes negative render times reported when CUDA kernels are compiled
at runtime.

A bit fragile logic, can be re-implemented using some user-counted
scope utility classes, so that only outer-most time skip is applied.
May 5, 2021, 12:21 (GMT)
Merge branch 'blender-v2.93-release'
May 5, 2021, 10:51 (GMT)
LibOverride/LibQuery: Refactor 'non-overridable' status management.

Move the detection/decision of whether an ID pointer should be taken
into account in library override hierarchy processing to the LibQuery
area of code, by introducing a new callback flag.

This allows to factorize the test logic, be explicit in liboverride code
about ID relationships that can be ignored when exploring the override
hierarchy, and adds the possibility to do more checks about pointers to
be tagged as non-overridable in the future.

Note that all but the 'special' ID pointers (loop-back, embedded, etc.)
should be overridable. If some is not, relevant IDType 'foreach_id'
callback code is reponsible to tag it properly.

Python-defined IDProperties however are not systematicaly overridable
(yet), so this should allow us to detect that case and act accordingly
in an incomming commit.

No behavioral change expected in this commit.
May 5, 2021, 10:51 (GMT)
LibOverride: Fix usage of IDProps that are not overridable.

Not all python-defined ID properties are overridable (yet), this needs
to be detected by libquery 'foreach id' code, such that those ID
pointers can be ignored by override code when working on override
hierarchies.

Fixes part of the issues found while investigating studio files (namely,
some py-defined ID pointer properties from rigify that are not currently
overridable would cause issues and false detections during resync).
May 5, 2021, 10:51 (GMT)
LibQuery: Cleanup: Document more fields of `LibraryForeachIDData` struct.
May 5, 2021, 10:29 (GMT)
Merge branch 'blender-v2.93-release'
May 5, 2021, 10:24 (GMT)
Cleanup: clang format

Missing from rB04905c56523a, sorry for the noise.
May 5, 2021, 08:09 (GMT)
Merge branch 'blender-v2.93-release'
May 5, 2021, 08:07 (GMT)
Fix PlayAnim error applying cache limiter

Each frame display would add an item to the cache limiting list
without checking if it was already in the list.

Limiting would then free image buffers when the length of the list
exceeded USE_FRAME_CACHE_LIMIT (currently 30).

In practice this meant short animations would free and reload
frames during playback.
May 5, 2021, 08:04 (GMT)
PlayAnim: add in missing define check
May 5, 2021, 05:22 (GMT)
Merge branch 'blender-v2.93-release'
May 5, 2021, 05:19 (GMT)
VSE: Set view transform based on strip colorspace

In some cases, users start video editing work from General template,
where Filmic view transform is chosen by default. Currently, this causes
issue when working with sRGB footage, which are not properly decoded
into linear working space and final render looks miscolored.

When adding first strip, check it's colorspace and if it corresponds to
colorspace for byte images, ensure that view transform is set to
default value, which is Standard.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D11151
Revision 08f4bab by Ankit Meel
May 5, 2021, 04:38 (GMT)
System info: add OS version to sys_info.py

Match the output to the prefilled bug report script's output.
Make the output file self-contained.

Reviewed By: lichtwerk
Differential Revision: https://developer.blender.org/D11144
May 5, 2021, 02:12 (GMT)
Cleanup: use doxy sections for info_ops.c
May 5, 2021, 02:11 (GMT)
Cleanup: quiet warning about description ending with '.'
Revision d08cc63 by Hans Goudey
May 4, 2021, 22:35 (GMT)
Nodes Splines: Apply tilt to normal evaluation

This patch makes the spline tilts (interpolated to the evaluated points)
affect the evaluated normals, allowing manual control of the rotation of
each profile in the curve to mesh node.

The method is based on Animation Nodes code, which keeps the data in
direction vector form, and rotates around the tangent vector.

Differential Revision: https://developer.blender.org/D11152
Revision 1f57103 by Hans Goudey
May 4, 2021, 22:27 (GMT)
Fix: Splines: Use consistent bezier linear interpolation method

While the method of interpolating based on the curve length at each
evaluated point may be useful in some situations, for now it's best to
be consistent with the existing methods in Blender, so this commit adds
a simple linear-based-on-resolution sampling method to bezier splines.
May 4, 2021, 22:08 (GMT)
Fix T86871: Mesh.mesh_from_object creates empty mesh from curve

Regression in 2b723abea02c868d94623f4dd9e9b6775cb3aaab
Revision 7ab7ae8 by Hans Goudey
May 4, 2021, 21:28 (GMT)
Fix: Incorrect cyclic interpolation for nodes bezier spline

The special case for the interpolation to the last point was being used
for every point in the last segment, because of the rounding. Instead,
make the function slightly more complicated to properly handle the
correct interolation in the cyclic and non-cyclic cases.
May 4, 2021, 20:58 (GMT)
DRW: Fix issue with batch reusing freed VBO indices.

Some discard of vertbuf were not correctly followed by discards of
the GPUBatches that were using them. This lead to a use-after-free
situation where GPUBatches would reuse old VBO information. This did
not crash immediatly because the VBO indices were cached by our VAO
caching system. It kept working on some implementation because VBO
reference in the VAO (probably) preventing the VBO from being freed
by reference counting.

This fixes T85977 NVidia: Random crashes in 'DrvPresentBuffers'
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021