Blender Git Commits

Blender Git commits from all branches.

Page: 828 / 2888

Revision dc7c061 by Sergey Sharybin (temp-cxx-upgrade)
June 18, 2020, 13:18 (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.
Revision 2c53c39 by Sergey Sharybin (temp-cxx-upgrade)
June 18, 2020, 13:16 (GMT)
Quadriflow: Fix compilation error with C++17

Unary function has been removed.
Unless I'm missing something subclass is not needed here.
Revision 369dc20 by Sergey Sharybin (temp-cxx-upgrade)
June 18, 2020, 13:15 (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 18, 2020, 12:46 (GMT)
Merge branch 'master' into property-search-ui
June 18, 2020, 11:36 (GMT)
Fix Glog compilation error on Windows

Some files are to be included on all platforms now.
June 18, 2020, 11:23 (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 18, 2020, 09:34 (GMT)
Ceres: Switch from OpenMP to C++ threads

Should fix unit test linking, and is something we want to use anyway.
June 18, 2020, 09:19 (GMT)
Make BLI_edgehash_test compatible with C++17

random_shuffle was removed (at least the used version).
June 18, 2020, 09:01 (GMT)
Upgrade C++ standard to C++17

Ref T76783
June 18, 2020, 08:48 (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 18, 2020, 08:48 (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 18, 2020, 08:19 (GMT)
Merge branch 'master' into soc-2020-io-performance
June 18, 2020, 08:15 (GMT)
Export triangulated mesh, not modifying the scene

Add UI checkbox for triangulating before writing the OBJ file.
The scene is not modified at all. Actual modifier should be used if one
needs the mesh to be modified too.

The settings for triangulation are the same as default ones of the
modifier:
ngon-method: "Beauty", quad-method: "Shortest Diagonal", min vertices:4
June 18, 2020, 07:51 (GMT)
Bumped file subversion to 19
June 18, 2020, 07:32 (GMT)
Fix T77657: NVIDIA Quadro FX4800 crash on startup

Limit support for `GLEW_ARB_base_instance` to OpenGL 4.0 and higher. NVIDIA Quadro FX 4800
(TeraScale) report that they support GLEW_ARB_base_instance, but the driver does not support
`GLEW_ARB_draw_indirect` as it has an OpenGL3 context what also matches the minimum needed
requirements.

We use `GLEW_ARB_draw_indirect` as a target for `glMapBuffer(Range)` what is part of the
OpenGL 4 API. So better disable it when we don't have an OpenGL4 context.

Note: fix should be ported to Blender 2.83 LTS

Reviewed By: Cl�ment Foucault

Differential Revision: https://developer.blender.org/D7994
June 18, 2020, 07:31 (GMT)
GPencil: Improve viewlayer masking check

Check if the mask layer is used in a layer that is going to be used in the current viewlayer.

Related to T77667
June 18, 2020, 07:31 (GMT)
Fix T77148: Crash changing multiple values for sequencer strips

This was caused by assuming all strips were the same type.
June 18, 2020, 07:28 (GMT)
Fix T77047: Dyntopo Sample detail size on hidden mesh causes crash

The `Toolbar` and `Sidebar` hide the corresponding panel
`VIEW3D_PT_sculpt_dyntopo` by polling for context.sculpt_object and
context.tool_settings.sculpt. In the Active Tool in the Properties
Editor this poll does not return False though, thus the
sample_detail_size is possible from there.

Second security check (the operator poll `SCULPT_mode_poll`) checks the
active object -- that is still valid even if hidden, so we are allowed
to execute the operator. However the active object becomes NULL once the
area is switched in `sample_detail()` -- see `CTX_wm_area_set`), leading
to the crash.

Dont think there is a quick and easy way to do this in the poll from the
Properties Editor, so just check for a valid active abject in the
operator and return OPERATOR_CANCELLED if we dont have it.

Maniphest Tasks: T77047

Differential Revision: https://developer.blender.org/D7832
June 18, 2020, 07:27 (GMT)
Fix T74101: File Browser in macOS fullscreen crashes or makes windows unusable

When closing the File Browser window after making it fullscreen, Blender would
either crash or all windows would disappear, with no obvious way to bring them
back.

The "fix" is to not allow fullscreen for File Browsers (or any future "dialog"
windows), but only maximizing. From what I can tell that's how secondary
windows are supposed to work on macOS. What we previously did seemed like
something macOS doesn't handle cleanly, and I didn't find a simple way to do so
on our side.
June 18, 2020, 07:26 (GMT)
Fix T77504: Operator search gives wrong results

Regression in e8ab0137f8766
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021