Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 623 / 5574

August 14, 2020, 14:49 (GMT)
Fix T79769, T79768: crash tweaking volume settings with Cycles viewport render

Refitting the BVH does not work in this case, it needs to be fully rebuilt.
Revision d117520 by Julian Eisel
August 14, 2020, 14:00 (GMT)
Merge branch 'blender-v2.90-release'
Revision cb578ca by Julian Eisel
August 14, 2020, 14:00 (GMT)
Fix/workaround graphics issues breaking SteamVR use with Blender

Windows only workaround. I'll have to investigate Linux separately.

Steam's OpenGL compatibility is still new and doesn't work for us yet
(neither does it for standard OpenXR examples from what I've heard and
seen myself). We can work around that by falling back to our DirectX
compatibility layer.
Note that this DirectX compatibility still doesn't work for some
systems, see T76082.

Implementation note: Since the graphics binding extensions have to be
enabled before we can find out which runtime is in use (e.g. SteamVR vs.
Oculus, etc), we can now enable multiple graphics binding extensions but
settle for a single one to use later.

Once the SteamVR OpenGL backend works, we can remove this workaround
again.

Fixes T78267.
Revision 6a56136 by Julian Eisel
August 14, 2020, 11:29 (GMT)
Merge branch 'blender-v2.90-release'
Revision ab3a651 by Julian Eisel
August 14, 2020, 11:27 (GMT)
Fix offset applied on top of VR landmark with no positional tracking

On VR session start with positional tracking disabled, the pose would
have an offset applied but it was supposed to start exactly at the
landmark position.

Issue is that we applied the offset to cancel out the position offset
reported by the OpenXR runtime incorrectly. We only want to do that if
positional tracking is enabled, because if not we don't even apply the
runtime's position offset. So we'd cancel something out that wasn't
there.
August 14, 2020, 11:16 (GMT)
BLI: add reverse iterators, iterator constructor and Vector.insert/prepend

The new reverse iterators behave as the reverse iterators for contains from
the standard library. Have a look at the tests to see how to use them.
Using them will hopefully become easier with ranges in C++20.

A Vector can now be constructed from two iterators, which is very common
in the standard library.

New Vector.insert methods allow adding elements in the middle of a vector.
These methods should not be used often in practice, because they has a linear running time.

New Vector.prepend methods allow adding elements to the beginning of a vector.
These methods are O(n) as well.
Revision 2d65336 by Julian Eisel
August 14, 2020, 10:37 (GMT)
Cleanup: C++ code style for Ghost-XR

* Avoid deep copy of vectors (technically more than a cleanup).
* Use `std::make_unique` for allocating unique pointers, rather than
manual `new`.
* Use `std::optional` for optional by-value return values, rather than
C-style `bool` to indicate success + return-argument.
* Use references rather than pointers for non-optional arguments.
* Avoid manual `new`/`delete`. Use `std::unique_ptr` for local scope
bound lifetime.
* Use C++ `nullptr` rather than C's `NULL`.
* Remove unnecessary friend declaration.

These changes are generally considered good practise and move us more to
a "modern C++" style. We can still go much further of course.
See https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines.
August 14, 2020, 09:38 (GMT)
Merge remote-tracking branch 'origin/blender-v2.90-release'
August 14, 2020, 09:36 (GMT)
Fix: Increase Viewport Sculpt Options panel width

The "Delay Viewport Update" label was showing only:
"Delay Viewport U..."
August 14, 2020, 08:40 (GMT)
Merge branch 'blender-v2.90-release'
August 14, 2020, 08:35 (GMT)
Fix (unreported) sculpt vertex color panel visible for all object types

Since DATA_PT_sculpt_vertex_colors has its own poll() we need to call
the poll() of MeshButtonsPanel as well

Differential Revision: https://developer.blender.org/D8563
Revision d0c0a2e by Hans Goudey
August 14, 2020, 02:13 (GMT)
UI: Correct grammar in property name and description
Revision cd179b5 by Hans Goudey
August 14, 2020, 02:00 (GMT)
UI Code Quality: Use derived struct for color ramp buttons

The same changes as rB570044e9f412 and rB0ab21bf06ae0.
Revision 0ab21bf by Hans Goudey
August 14, 2020, 01:33 (GMT)
UI Code Quality: Use derived struct for curve mapping buttons

The same changes as in rB570044e9f412.
Revision 570044e by Hans Goudey
August 14, 2020, 01:00 (GMT)
UI Code Quality: Use derived struct for curve profile buttons

Continuing the work from rB49f088e2d093.

Differential Revision: https://developer.blender.org/D8561
August 13, 2020, 18:18 (GMT)
GPencil: Fix keymap error for Fill Boundary strokes

The key to enable it is `Alt`
August 13, 2020, 18:18 (GMT)
GPencil: Display Fill Boundary strokes with stroke color

This feature was removed during the refactor, but it's needed for this type of strokes to display the line using the stroke color without checking if the stroke is enabled or not in the material.

This color is used only for these special strokes.
August 13, 2020, 17:42 (GMT)
Deps_builder: Update openvdb to a dynamic library

This patch changes openvdb from a static to a dynamic library.
this is in preparation for enabling pyopenvdb at some point
in the future.

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

Reviewed by: brecht
Revision aabbb51 by Hans Goudey
August 13, 2020, 16:13 (GMT)
UI: Use consistent geometry icon color

The grease pencil weight sculpt icon was using a slightly different
shade of blue than the other icons.
Revision 0664194 by Hans Goudey
August 13, 2020, 16:09 (GMT)
UI: Simplify more geometry icons

Again, no visual changes, just removed internal vertices where they
were unecessary.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021