Blender Git Commits

Blender Git "master" branch commits.

Page: 907 / 5574

February 14, 2020, 00:13 (GMT)
Cleanup/MSVC: Enable C++ conformance mode on compiler versions that support it.

MSVC has a conformance mode (/permissive-) where the C++ standard is more strictly
enforced. This mode is available on MSVC 15.5+ [1]

This patch enables this mode on compilers that support it and cleans up the few violations it threw up in the process.

- Mantaflow was using M_PI without requesting them using the _USE_MATH_DEFINES define to opt in to non default behaviour.
- Collada did not include the right header for std::cerr, this seemingly was fixed for other platforms already but put inside a platform guard.
- Ghost had some scoping issues regarding uninitialized variables and goto behaviour

Second landing of this patch, earlier commit was reverted due to some compiler configurations having slipped though testing

[1] https://docs.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance

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

Reviewed By: brecht
February 13, 2020, 23:33 (GMT)
Freestyle: Add option for rendering Freestyle to a separate pass

This allows for more flexibility in Compositing compared to the
hardcoded alpha-over that is currently used.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D6829
February 13, 2020, 17:12 (GMT)
DRW: Fix color management in material/rendered mode

We only do exposure/gamma if not using scene lighting
February 13, 2020, 16:48 (GMT)
Add initial, very basic save/open & library linking blendfile tests.

Do not do much for now, but would have been enough to catch the crash
introduced the other day in linking code...
February 13, 2020, 16:46 (GMT)
Py API: Add `orphans_purge` helper to `bpy.data`.

Much more convinient than trying to use outliner operator...
February 13, 2020, 15:56 (GMT)
Fix for fix (c) assert from own recent commit.

This master_collection thing is really, really annoyingly spreading all
over the place...
February 13, 2020, 15:33 (GMT)
Cleanup: add clarifying comment to ViewLayer->layer_collections
February 13, 2020, 15:23 (GMT)
Fix (unreported) private/embedded IDs being added to `bpy.data.user_map()` dict.

We do not want those here.
February 13, 2020, 15:23 (GMT)
Fix (unreported) fully broken `bpy.data.user_map()` helper.

The introduction of python instancing for ID data in 2.80 completely
broke the 'smart & efficient' hack of using a same py object as key for
initial quick check, since rebuilding the RNAPointer in the
BPy_StructRNA would actually affect the py instance of the first ID used
to generate that py object...

TL;DR: No need for this complex and unclear optimization anymore, since
we do not actually rebuild a whole py object anymore every time we call
`pyrna_id_CreatePyObject()` from a same ID pointer.
February 13, 2020, 15:23 (GMT)
libquery: Add 'owner id' to callback data.

In some cases it's important to always have a proper ID as reference,
e.g. whene generating data supposed to represent main data-base...
February 13, 2020, 15:23 (GMT)
Cleanup old special cases from some libquery callbacks.

We now have proper flagging for horrible loopback pointers...
February 13, 2020, 15:23 (GMT)
Refactor libquery ID looper callback to take a single parameter.

Using a struct here allows to change given parameters to the callbacks
without having to edit all callbacks functions, which is always noisy
and time consuming.
February 13, 2020, 14:22 (GMT)
Fix OptiX denoising when multiple CUDA streams are active
February 13, 2020, 14:22 (GMT)
Cleanup: Remove some unnecessary OptiX device code
February 13, 2020, 14:09 (GMT)
Cloth: Optimization in self collision

15% to 20% improvement in cloth simulation performance with
self-collision.

The idea is to reduce the number of collisions computed by avoiding
overlapping tris with the same combination (eg. (1,0) and (0,1)).

Reviewed By: zeddb

Differential Revision: https://developer.blender.org/D6474
February 13, 2020, 14:04 (GMT)
Revert "Cleanup/MSVC: Enable C++ conformance mode on compiler versions that support it."

It is breaking compilation on some configurations, revert for now while
i see what is wrong.

This reverts commit 9fe469c110940af5d2525158305d5d365bd15276.
February 13, 2020, 10:02 (GMT)
Fix T67649: clarify description of node update method
February 13, 2020, 06:06 (GMT)
Fix T71112: UILayout.activate_init when used in popups that refresh
February 13, 2020, 06:02 (GMT)
Fix crash using 'activate_init' in popup menus

Reported in T71112
February 13, 2020, 04:19 (GMT)
Fix crash using '--debug-handlers' command line argument
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021