Blender Git Commits

Blender Git "master" branch commits.

Page: 473 / 5574

December 2, 2020, 08:29 (GMT)
Fix T83090: Multiple warnings accessing brush enum data.

We already have generic enums for empty and default 'none' value.
Revision da22ec1 by Ankit Meel
December 2, 2020, 08:25 (GMT)
Cleanup: Fix CMake syntax error in the last commit.
Revision 6535135 by Ankit Meel
December 2, 2020, 07:53 (GMT)
CMake/macOS: consider MinSizeRel too for ASan.
Revision a715839 by Ankit Meel
December 2, 2020, 07:50 (GMT)
Cleanup: add commits to .git-blame-ignore-revs.
December 2, 2020, 04:51 (GMT)
VSE: Unify sequences collections API

Use RNA_api_sequences() for SequenceEditor and MetaSequence
sequences member.

Defines pair of dispatch functions rna_Sequences_editing_* and
rna_Sequences_meta_* that pass pointer to seqbase to
rna_Sequences_* function.

Downside of this implementation is, that it defines 2 seemingly
different RNA collections - SequencesMeta and SequencesTopLevel

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D9601
December 1, 2020, 16:16 (GMT)
Codesign: Allo non-zero exit code for signtool on Windows
December 1, 2020, 15:25 (GMT)
Deps: Add PugiXML as an official dependency

PugiXML was historically shipped hidden embedded into OIIO, the Grease
Pencil team had a requirement for an XML library recently so pugi seems
like a natural choice since it's not really a 'new' library, we just
turn an implicit dependency into an explicit one.

This commit expands the Windows-specific code in rBdca9aa0053f7 to
include Linux. macOS support will be handled in a later commit.

NOTE: run `cmake -U'*PUGIXML*' .` in the build directory to ensure CMake
finds PugiXML in the new location.

For details see D8628
December 1, 2020, 14:24 (GMT)
Tracking: Refactor autotrack tracking implementation

The idea is to avoid any synchronization needed in the worker threads
and make them to operate on a local data. From implementation detail
this is achieved by keeping track of "wavefront" of markers which are
to be tracked and the tracking result. Insertion of results to the
AutoTrack context happens from main thread, which avoids need in the
lock when accessing AutoTrack.

This change makes tracking of many (300+) about 10% faster on the
Xeon) CPU E5-2699 v4. More speedup will be gained by minimizing
threading overhead in the frame cache.

Another important aspect of this change is that it fixes non-thread
safe access which was often causing crashes. Quite surprising the
crash was never reported.
December 1, 2020, 13:55 (GMT)
Libmv: Tweak default logging verbosity level

Log to verbosity level 1 rather than INFO severity.

Avoids a lot of overhead coming from construction of the INFO stream
and improves performance and threadability of code which uses logging.

This makes tracking of 250 frames of a track of default settings to
drop down from 0.6sec to 0.4sec.
December 1, 2020, 13:46 (GMT)
Libmv: Cleanup, remove unused logging macros

Unused and was not entirely happy with such short abbreviations.
December 1, 2020, 09:45 (GMT)
Cleanup: De-duplicate object mullptr checks

Makes it more clear whether object is allowed or not allowed to be NULL.
Also, avoids possible access to the different object mode enumerator.

Should be no functional changes.
December 1, 2020, 09:27 (GMT)
Fix T83275: Crash with scene statics and empty scene

ob can be NULL, so it needs to be checked before accessing ob->mode

Differential Revision: https://developer.blender.org/D9680
November 30, 2020, 22:40 (GMT)
Fix sculpt transform incorrently flipping displacement in Y and Z axis

These functions were only checking the X axis for flipping the
displacement for a symmetry area depending on the initial position of
the pivot.
This affects transform and any other tools that transform vertices and
applies symmetry based on areas (the pose brush, for example).

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D9654
November 30, 2020, 22:35 (GMT)
UI: Add Sculpt Session info to stats

This adds the vertex and face count info to the scene stats in sculpt
mode. These stats count the active vertices and faces in the
sculptsession for the active object. This has the following advantages:
- It is possible to know how many vertices the sculptsession has active
comparted to the vertex count of the entire scene from sculpt mode
- When sculpting with constructive modifiers, these stats will report the
number of vertices that you can actually sculpt with, instead of the
vertex count of the modified mesh and the entire scene.

Reviewed By: sergey, dbystedt

Differential Revision: https://developer.blender.org/D9623
Revision 6b12dad by Hans Goudey
November 30, 2020, 21:39 (GMT)
Cleanup: Use LISTBASE_FOREACH for node tree sockets RNA code
Revision 007a0e4 by Hans Goudey
November 30, 2020, 18:56 (GMT)
Cleanup: Reduce variable scope in node drawing code

Also use LISTBASE_FOREACH in a few places and generally clean up
the code for the two sidebar panels "Sockets" and "Interface".
Revision 5a35e56 by Bastien Montagne
November 30, 2020, 18:47 (GMT)
Cleanup: Remove unecessary code.

We already `memset` the whole mesh runtime to zero, no need to set some
of its pointer explicitly to NULL afterward.
November 30, 2020, 18:46 (GMT)
Fix T83196: bad matrix to quaternion precision near 180 degrees rotation.

Adjust the threshold for switching from the base case to trace > 0,
based on very similar example code from www.euclideanspace.com to
avoid float precision issues when trace is close to -1.

Also, remove conversions to and from double, because using double
here doesn't really have benefit, especially with the new threshold.

Finally, add quaternion-matrix-quaternion round trip tests with
full coverage for all 4 branches.

Differential Revision: https://developer.blender.org/D9675
Revision 6022103 by Hans Goudey
November 30, 2020, 18:44 (GMT)
Cleanup: Clang tidy void argument
November 30, 2020, 17:50 (GMT)
Fix T83177: Industry Compatible keymap: MMB-dragging to transform engages axis-constraining on release

Release confirm did not consider modal keymap events.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021