June 19, 2020, 10:02 (GMT) |
Cycles: Make compatible with C++17 on 10.9 deployment target OSLRenderServices contains a member which is 64 bytes aligned and this is onlys supported by default allocators in SDK 10.14. Since we take care of allocation ourselves ignoring the diagnostic is an acceptable way dealign with it. |
June 19, 2020, 10:02 (GMT) |
Freestyle: Fix compilation error with C++17 AutoPtr class became a sub-class of unique_ptr with some special magic to mimic behavior of auto_ptr for copy constructor. The code was already there, but for some reason visual studio did not set __cplusplus correctly for some reason. The other change is remove of binary function usage, which is not needed in the Freestyle code. |
June 19, 2020, 10:02 (GMT) |
Quadriflow: Fix compilation error with C++17 Unary function has been removed. Unless I'm missing something subclass is not needed here. |
June 19, 2020, 10:02 (GMT) |
Tests: Use explicit signature constants Are reported by MSVC 2019 after C++17 switch. One might suggest lets just silence the warning, I will say why to have specific signed/unsigned types in API just to then (usafely) ignore the sign conversion. |
June 19, 2020, 10:02 (GMT) |
Upgrade Google libraries Upgrades Glog from 0.3.5 to 0.4.0, and Gtest from 0.8.0 to 0.10.0. Hopefully this will solve compilation error on MSVC with C++17. |
June 19, 2020, 10:02 (GMT) |
Make BLI_edgehash_test compatible with C++17 random_shuffle was removed (at least the used version). |
June 19, 2020, 10:02 (GMT) |
Ceres: Update to the latest upstream version Using latest master because of various compilation error fixes. Brings a lot of recent development. From most interesting parts: - New threading model. - Tiny solver. - Compatibility with C++17. |
June 19, 2020, 10:02 (GMT) |
Update C++ standard to C++14 This is an intermittent state to get all dependencies to compile. For example, the latest Ceres is needed to bring C++17 support, but it has bumped minimal requirement to C++14. |
June 19, 2020, 09:17 (GMT) |
Cloth: allow forces to act parallel to cloth. Currently all force effectors can only act on cloth when the force is perpendicular to the surface. This makes sense for wind, but not for other forces; and the user may want even wind to have some friction. This changes effector code to output two force vectors - although you of course can pass the same pointer for both. The force is split between the two outputs based on a new per-effector setting. Differential Revision: https://developer.blender.org/D8017 |
June 19, 2020, 08:56 (GMT) |
Fix T78024: GPencil - Add missing UV Fill prop to RNA This was changed in the refactor done in 2.83 and was not included by error. |
June 19, 2020, 08:34 (GMT) |
GPencil: Apply GSoC changes |
June 19, 2020, 08:24 (GMT) |
Alembic: always export transforms as inheriting Blender now always exports transforms as as "inheriting", as Blender has no concept of parenting without inheriting the transform. Previously only objects with an actual parent were marked as "inheriting", and parentless objects as "non-inheriting". However, certain packages (for example USD's Alembic plugin) are incompatible with non-inheriting transforms and will completely ignore such transforms, placing all such objects at the world origin. When importing non-inheriting transforms from Alembic, Blender will break the parent-child relation and thus force the child to (correctly) interpret the transform as world matrix. |
June 19, 2020, 08:24 (GMT) |
Alembic: prevent spaces in names of exported particle systems Other types already had spaces, periods, and colons replaced by underscores. The upcoming Alembic exporter (based on the `AbstractHierarcyIterator` class) will be more consistent and apply the same naming rules everywhere. This is in preparation for that change. The `get_?_name()` functions in `abc_util.{cc,h}` will be removed then. |
June 19, 2020, 08:17 (GMT) |
Alembic: export object data with object data name Previously the Alembic exporter exported a mesh object to `{object.name}/{object.name}Shape`. Now it exports to `{object.name}/{mesh.name}` instead. The same change also applies to other object data types. Note that the code now is a bit hackish, as `m_name` is set even in cases where it isn't used. This hackishness was already there, though, but it's now just more visible. This will all be cleaned up when the Alembic exporter is ported to use the `AbstractHierarchyImporter` structure of the Universal Scene Description (USD) exporter. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D7672 |
June 19, 2020, 08:17 (GMT) |
IO: ensure export path and export name are always consistent Before this, there was one code path that set `context.export_path`, and a different code path for `context.export_name`, allowing the two to diverge. Keeping track of the export path of the export parent (which can be, but is not always, the Blender parent object) also allows a concrete subclass of `AbstractHierarchyIterator` to find the `AbstractWriter` for the export parent. In case of exporting to Alembic this is important, as it's not possible to simply give the Alembic library the full export path of an object like we do in the Universal Scene Description (USD) exporter; Alembic needs the C++ object of the parent. |
June 19, 2020, 08:17 (GMT) |
IO: Allow exporting a subset of the writers This is in order to prepare for compatibility with the Alembic exporter. That exporter is capable of writing object transforms and object data at different (sub)frames. The rename from `created_writers` to `used_writers` is necessary, as not all created writers will be actually used in each iteration. The Universal Scene Description (USD) exporter does not make use of this. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D7670 |
June 19, 2020, 08:17 (GMT) |
IO: Move Abstract Hierarchy Iterator into `io/common` The goal of the `AbstractHierarchyIterator` class (and supporting classes) was to use it in different exporters. It shouldn't be part of the USD module + namespace any more, now that it will also be used in the upcoming Alembic exporter rewrite. The source files are moved into `io/common`, which is compiled & linked into a new library `bf_io_common`. The unittests are still inside the `tests/gtests/usd` directory. They should be moved to a separate test module too, but that will be delayed until after T73268 has been resolved. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D7669 |
June 19, 2020, 08:14 (GMT) |
Merge branch 'greasepencil-edit-curve' into soc-2020-greasepencil-curve |
Revision 9566f23 by Antonio Vazquez (greasepencil-object) June 19, 2020, 08:10 (GMT) |
Merge branch 'master' into greasepencil-object |
June 19, 2020, 08:10 (GMT) |
Fix T77997: GPencil insert keyframe on timeline doen't update viewport The reason was the datablock is changed but it was not tagged for depsgraph refresh. In some cases it could be possible to tag several times the same datablock, but as this is not the case all the times and the number of tags is always very small, it doesn't worth a complex code to keep a memory list of the datablocks to tag. |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021