Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-14Fix T79772: Gpencil. Additive drawing doesn't work when creating fillsAntonio Vazquez
This option was not supported in Fill tool
2020-08-14Merge branch 'blender-v2.90-release'Hans Goudey
2020-08-14UI: Remove cutoff text in popovers for 2.90 releaseHans Goudey
Many of these popovers could use a design pass in 2.91, but for 2.90 we don't want to change any UI strings at this point, so the best way to solve the cutoff text is to widen the popovers. Sadly this won't affect popovers when other languages besides English have longer strings, but solving that is a much larger task. Another benefit is that tweaking sculpt / paint brush options feels much less cramped with slightly wider popovers. I only know of one string that is still slightly cutoff by default with this patch, the "Max Element Distance" property of the pose brush in the sculpt mode brush settings popover. But I didn't think it was worth widening that popover more to deal with that one case. Differential Revision: https://developer.blender.org/D8575
2020-08-14Merge branch 'blender-v2.90-release'Julian Eisel
2020-08-14Fix warning when compiling on Linux with WITH_XR_OPENXR enabledJulian Eisel
2020-08-14Merge branch 'blender-v2.90-release'Julian Eisel
2020-08-14Fix constant lighting change in VR view when rotating headJulian Eisel
We have to explicitly enable fixed world space lighting. This was in fact already done, but overridden by the code to sync the 3D View shading settings to the VR view.
2020-08-14Fix undefined behavior with --debug-xrJulian Eisel
Mistake in cb578ca1048d3. Before that, the extension vector was static, to make sure the extension name strings wouldn't get destructed when leaving the function. I didn't think that was an issue and couldn't recreate one, because until the previous commit we wouldn't actually add any extensions to the vector on Windows (the system I tested with). Use C++17's `std::string_view` now, which avoids the string copies `std::string` creates for itself and thus its destruction when leaving the local scope.
2020-08-14Fix --debug-xr not outputting OpenXR debug prints on WindowsJulian Eisel
The OpenXR debug extension was disabled on Windows as a workaround. This was an old leftover from when there was only the Windows Mixed Reality runtime on Windows. The debug extension didn't work for it and we didn't have a way to disable it just for Windows Mixed Reality. Now it seems to work though, so we remove the workaround. If specific runtimes still have trouble with the extension, we can disable it specifically for these runtimes now.
2020-08-14Fix NULL pointer access in render engine reported by address sanitizerBrecht Van Lommel
This may not have caused an actual bug.
2020-08-14Fix T79769, T79768: crash tweaking volume settings with Cycles viewport renderBrecht Van Lommel
Refitting the BVH does not work in this case, it needs to be fully rebuilt.
2020-08-14Merge branch 'blender-v2.90-release'Julian Eisel
2020-08-14Fix/workaround graphics issues breaking SteamVR use with BlenderJulian Eisel
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.
2020-08-14Merge branch 'blender-v2.90-release'Julian Eisel
2020-08-14Fix offset applied on top of VR landmark with no positional trackingJulian Eisel
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.
2020-08-14BLI: add reverse iterators, iterator constructor and Vector.insert/prependJacques Lucke
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.
2020-08-14Cleanup: C++ code style for Ghost-XRJulian Eisel
* 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.
2020-08-14Merge remote-tracking branch 'origin/blender-v2.90-release'Dalai Felinto
2020-08-14Fix: Increase Viewport Sculpt Options panel widthDalai Felinto
The "Delay Viewport Update" label was showing only: "Delay Viewport U..."
2020-08-14Merge branch 'blender-v2.90-release'Philipp Oeser
2020-08-14Fix (unreported) sculpt vertex color panel visible for all object typesPhilipp Oeser
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
2020-08-14UI: Correct grammar in property name and descriptionHans Goudey
2020-08-14UI Code Quality: Use derived struct for color ramp buttonsHans Goudey
The same changes as rB570044e9f412 and rB0ab21bf06ae0.
2020-08-14UI Code Quality: Use derived struct for curve mapping buttonsHans Goudey
The same changes as in rB570044e9f412.
2020-08-14UI Code Quality: Use derived struct for curve profile buttonsHans Goudey
Continuing the work from rB49f088e2d093. Differential Revision: https://developer.blender.org/D8561
2020-08-13GPencil: Fix keymap error for Fill Boundary strokesAntonio Vazquez
The key to enable it is `Alt`
2020-08-13GPencil: Display Fill Boundary strokes with stroke colorAntonio Vazquez
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.
2020-08-13Deps_builder: Update openvdb to a dynamic libraryRay Molenkamp
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
2020-08-13UI: Use consistent geometry icon colorHans Goudey
The grease pencil weight sculpt icon was using a slightly different shade of blue than the other icons.
2020-08-13UI: Simplify more geometry iconsHans Goudey
Again, no visual changes, just removed internal vertices where they were unecessary.
2020-08-13Fix T78065: OSL shader compilation fails on macOSBrecht Van Lommel
2020-08-13Merge branch 'blender-v2.90-release' into masterBastien Montagne
2020-08-13Fix T79591: Liboverride: do not update overrides on missing linked data.Bastien Montagne
It makes no sense to generate/update overrides from missing (broken linked) reference data, just keep existing ones unchanged then.
2020-08-13UI: Simplify geometry iconsHans Goudey
Many of the icons had lots of interior geometry left over from subdivision. In these cases we should remove the interior geometry and leave the object with the modifier for the future.
2020-08-13Merge branch 'blender-v2.90-release'Hans Goudey
2020-08-13UI: Add sculpt cloth filter tool iconHans Goudey
This icon mimics the details of the cloth brush icon while using the frame style extablished for the other "filter" tools. Differential Revision: https://developer.blender.org/D8467
2020-08-13UI: Add sculpt cloth filter tool iconHans Goudey
This icon mimics the details of the cloth brush icon while using the frame style extablished for the other "filter" tools. Differential Revision: https://developer.blender.org/D8467
2020-08-13Sequencer: Implement zoom-to-fit view modeSergey Sharybin
In this mode the preview image is always using the most of the preview area space: it is scaled to fit, preserving aspect ratio. This makes it possible to always have maximum of the preview region even after resize of other areas. This mode is enabled by default, is available in the View -> Zoom to Fit menu. It is enabled when View All (Home key) is used, and is disabled when manual navigation ([panning, zooming) is performed. There is no versioning code, which means existing files will open as-is, but new projects will have this option enabled. Ref T78987 Maniphest Tasks: T78987 Differential Revision: https://developer.blender.org/D8549
2020-08-13View2D: Inform region type on current view changesSergey Sharybin
Allows to hook per-space code which is to be run on view navigation. This is required to have zoom-to-fit implemented in the sequencer. There might be more cases where the clalback is to be called from, but it could be easier to address those on the case-by-case basis when its needed.
2020-08-13View2D: Centralize handling of changes to v2d->curSergey Sharybin
Currently there are no functional changes, preparing code to add more functionality which is to be run from navigation/zoom operators.
2020-08-13Fix T79082: Softbody self-collision does not work on latticesJacques Lucke
Reviewers: zeddb Differential Revision: https://developer.blender.org/D8562
2020-08-13UVEdit: Fix drawing after recent refactorClément Foucault
2020-08-13GPU: Fix MSVC warningClément Foucault
2020-08-13GPU: Fix issue with MDI and recent refactorClément Foucault
2020-08-13GPUDrawList: Fix gl error with drawing without the correct VAO boundClément Foucault
2020-08-13GPUShader: Add more uniform functionsClément Foucault
2020-08-13Cleanup: GPU: Remove Batch vao cache resetClément Foucault
This is done at drawtime automatically.
2020-08-13GPUBatch: GL backend isolationClément Foucault
This changes the drawing paradigm a bit. The VAO configuration is done JIT-style and depends on context active shader. This is to allow more flexibility for implementations to do optimization at lower level. The vao cache is now its own class to isolate the concept. It is this class that is reference by the GLContext for ownership of the containing VAO ids.
2020-08-13GPUBatch: Move allocator to backendClément Foucault
2020-08-13GPUBatch: Merge phase and ownership flags and cleanup there usageClément Foucault
Also add new flags to communicate specific behavior to future backend.