Blender Git Commits

Blender Git "master" branch commits.

Page: 723 / 5574

June 17, 2020, 15:26 (GMT)
Fix T76767: Cycles performance regression with CLI renders

When picking a small tile size when doing a CLI render will
yield many status updates being printed to the console
causing a slowdown in the render process. 2.79 with the
same amount of tiles did not have this slowdown.

The reason for this turned out to be a debugging aid added
in rBd2757d149bf2 which disabled buffering for stdout which
on windows caused every single character being printed to the
console to try to obtain a mutex, and worse the thread being
put to sleep when this mutex was unavailable leading to poor
performance.

This patch changes the behaviour by only disabling the
buffering in debug builds.

CLI render of the default cube with 16x16 tiles at 1080p

2.83 : 37.57s
now : 17.03s

note: this only affected CLI renders, renders from the UI
do not report this kind of information and had no such
slowdown.
June 17, 2020, 15:16 (GMT)
Fix T77914: Blender Crashes if viewport is changed manually while having loop cut selected

The selection engine requires a viewport.
June 17, 2020, 15:16 (GMT)
Cleanup: Rearrange SELECTID_Context members for better alignment
June 17, 2020, 15:06 (GMT)
ID Duplicate: Factorize a lot the code.

Now that we have a uniform consistent behavior in all our ID duplicate
funtions, we can easily factorize it greatly. Code gets cleaner,
smaller, and less error-prone.

Note that ultimately, this duplicate/deep copy behavior could be added
as a callback of IDTypeInfo.
We could also rethink the duplicate flags (some data, even some obdata,
like Lattice, are not coverred currently).
And so on. But at least code should now be much more easily maintainable
and extendable.
June 17, 2020, 15:06 (GMT)
ID Duplicate: uniformize Action duplication.

Previously, object (and sub-data) actions would be controlled by the
user preferences flag, collections actions would never be duplicted, and
scenes actions were always duplicated...

Now they all follow the user preferences settings.
June 17, 2020, 15:06 (GMT)
Refactor duplicate of data-blocks.

Main change from user side, besides that all pointers should now be
properly remapped to new IDs, is that linked objects are no longer
preserved when doing a full copy of scenes.

Will open a task to check whether we actually still want that behavior
(and re-code it in a more correct way then).

This is the main part of work done here, it aims at uniformizing and
sanitizing that 'deep copy' process for supported IDs (currently scenes,
collections and objects).

Note that there will be more follow up commits after that one, but this
should be the most risky and changing one.
June 17, 2020, 15:06 (GMT)
Fix (unreported) broken logic in `BKE_libblock_relink_to_newid`

Existing code would not follow as expected into new sub-IDs if they were
only encoutered once in usages by parent IDs...
June 17, 2020, 15:00 (GMT)
Outliner: Unified delete hierarchy operator

This resolves T73673 by allowing delete hierarchy in all outliner view
modes. It also unifies the collection and object hierarchy delete into a
single operator like in rBae98a033c856. This makes it easier to delete
all selected collection and object hierarchies at once.

This also removes the old object delete hierarchy code in favor of the
batch delete code which has been default for over a year.

Maniphest Tasks: T73673

Differential Revision: https://developer.blender.org/D7675
June 17, 2020, 14:07 (GMT)
Cleanup: clang-format
June 17, 2020, 12:36 (GMT)
Cleanup: fix compiler warnings
June 17, 2020, 12:09 (GMT)
Fix T77915: Cycles OSL microfacet closure not working in custom shaders

The code to implement the newer closure in terms of the old one got lost in
the removal of our stdosl.h copy. Now implement it as a builtin closure.
June 17, 2020, 11:22 (GMT)
Cleanup: doxy sections for meta-ball operators.
June 17, 2020, 11:13 (GMT)
Fix T63411: Crash adding meta-ball with a small radius

Change how the radius, changing the size of meta plane, sphere & cube.

Previously the size of these primitives would be kept the same,
with only the radius outside the primitive being scaled.

This led to small scale adding a lot of polygons instead
of scaling the primitive down as users would expect.

Also change behavior not to change the resolution when adding
to an existing meta-ball.
June 17, 2020, 08:07 (GMT)
Doc: minor change to curve select more/less

Address T55218
June 17, 2020, 07:07 (GMT)
Cleanup: name mesh join functions using ED_{type} prefix
June 17, 2020, 06:41 (GMT)
Fix T70287: Connect vertex path can create duplicate edges/faces
June 17, 2020, 04:00 (GMT)
Cleanup: doxy comments
Revision 3ff9769 by Philipp Oeser
June 17, 2020, 03:43 (GMT)
Fix T76041: Low contrast dirty vertex colors with loose geometry

Add option to normalize vertex colors.
Revision f9be537 by Campbell Barton
June 17, 2020, 03:43 (GMT)
Cleanup: warning
June 16, 2020, 18:15 (GMT)
UI: Backspace is one word
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021