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
2022-08-15GPU: replace GLEW with libepoxyChristian Rauch
With libepoxy we can choose between EGL and GLX at runtime, as well as dynamically open EGL and GLX libraries without linking to them. This will make it possible to build with Wayland, EGL, GLVND support while still running on systems that only have X11, GLX and libGL. It also paves the way for headless rendering through EGL. libepoxy is a new library dependency, and is included in the precompiled libraries. GLEW is no longer a dependency, and WITH_SYSTEM_GLEW was removed. Includes contributions by Brecht Van Lommel, Ray Molenkamp, Campbell Barton and Sergey Sharybin. Ref T76428 Differential Revision: https://developer.blender.org/D15291
2022-08-15Merge branch 'blender-v3.3-release'Sergey Sharybin
2022-08-15Fix T99955: Crash with 'Cache Result' and all render layers are disabledSergey Sharybin
Ensure render passes are allocated in the result prior to writing them. Alternative could be to not write empty passes, but that is kind of different from perspective of s one who reads the file. Differential Revision: https://developer.blender.org/D15692
2022-08-15Merge branch 'blender-v3.3-release'Brecht Van Lommel
2022-08-15Cleanup: fix typosBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D15680
2022-08-15Cycles: simplify handling of ray differentialsBrecht Van Lommel
* Store compact ray differentials in ShaderData and compute full differentials on demand. This reduces register pressure on the GPU. * Remove BSDF differential code that was effectively doing nothing as the differential orientation was discarded when making it compact. This gives a 1-5% speedup with RTX A6000 + OptiX in our benchmarks, with the bigger speedups in simpler scenes. Renders appear to be identical except for the Both displacement option that does both displacement and bump. Differential Revision: https://developer.blender.org/D15677
2022-08-15Cleanup: make formatBrecht Van Lommel
2022-08-15Fix build error in libc_compat when using musl libcBrecht Van Lommel
Checking for the existence of and using __GLIBC_PREREQ can't be done in the same conditional. Contributed by listout. Differential Revision: https://developer.blender.org/D15690
2022-08-15Fix T100394: Regression: Duplicating a modifier causes a crashSergey Sharybin
Need to update relations when modifiers are added or removed since those create nodes in the dependency graph. Added an assert statement to point at possible culprit so that issues can be fixed more quickly.
2022-08-15Cleanup: Suppress compilation warning in eevee_lights.Jeroen Bakker
Temporarily commented out LightModule::input_depth_tx until it is used to hide a compilation warning.
2022-08-15Fix status bar keymap items during modal operationsDamien Picard
The status bar keymap items still don't get translated because the TIP_ translation introduced by rBe1974ae30e46 uses the wrong context: it uses the default context, while the extraction introduced in rB630b961f234e uses ID_WINDOWMANAGER. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15684
2022-08-15I18n: translate recent files and bookmarks in the file browserDamien Picard
This is not dynamic: it only happens when the dir is added to the list--automatically for recent files, and by the user for bookmarks. Entries can then be manually renamed like other dirs. They will keep the same name if the language is changed afterwards. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15629
2022-08-15Cleanup: simplify sin_cos_from_fractionChris Blackbourn
Multiply numerator and denominator by 8 to split circle into octants. Use symmetry and negation to increase precision.
2022-08-15Fix regression: crash with uv constrain to bounds without imageChris Blackbourn
Merge confusion between cc1daa9b766d and 0d62e963b06e.
2022-08-14EEVEE-Next: Light: Add light evaluation supportClément Foucault
This is the same implementation as the old one.
2022-08-14EEVEE-Next: Light: New light moduleClément Foucault
Compared to the previous implementation this has a limit of 65536 lights per scene. Lights exceeding this limit will be ignored. This also introduce fine grained GPU light culling, making rendering many lights in a scene more efficient as long they don't overlap much. Compatible light panels have been unhidden. Note: This commit does not include surface evaluation, only light culling.
2022-08-14DRW: Add intersection and shape libraries for GLSLClément Foucault
These are meant to provide easy shape and AABB operation for culling. They are currently incomplete but can be extended as one see fits. The `common_debug_shape_lib.glsl` contains helper to draw thoses shapes.
2022-08-14DRW: Debug: Fix `print` templateClément Foucault
It was impossible to print literals like `drw_print(5)`.
2022-08-14DRW: Debug: Fix drw_debug_sphere not positioning and scaling the sphereClément Foucault
It was an oversight.
2022-08-14GPencil: Engine: Make GL lights declaration optionalClément Foucault
This avoid some macro name clashing with other engines where this struct is not needed.
2022-08-14GPU: Fix shader builder compilationClément Foucault
Was missing a stub.
2022-08-14Cleanup: Move object_vgroup.c to C++Hans Goudey
2022-08-14Cleanup: Add comments about deprecated flagsHans Goudey
2022-08-14Fix: Incorrect access of mesh hide layersHans Goudey
Mistake in 2480b55f216c31373a
2022-08-13Fix Cycles MetalRT compile errorBrecht Van Lommel
2022-08-13Merge branch 'blender-v3.3-release'Germano Cavalcante
2022-08-13Fix T100354: Home key being the grave accent in french keyboard layoutGermano Cavalcante
I'm still not sure how the `0xFF` value came about, but it's not a valid virtual key code. Therefore it should not be used in `MapVirtualKey`.
2022-08-12BLF: Adjustments to Static Font DetailsHarley Acheson
Adjust static font details so that we can properly display Arabic contextual letter forms. And so that alphabetical ligatures are loaded from language-specific fonts. See D15678 for more details Differential Revision: https://developer.blender.org/D15678 Own Code.
2022-08-12Merge branch 'blender-v3.3-release'Sebastian Parborg
2022-08-12Fix out of bounds read in LineArt if there are only interestion edgesSebastian Parborg
In this case the array allocation would allocate an array of size zero. This would then later lead to out of bounds memory reads. Now the code will skip zero length allocations.
2022-08-12Merge branch 'blender-v3.3-release'Germano Cavalcante
2022-08-12Fix T100370: Depth choice for "Add Cube" tool always using SurfaceGermano Cavalcante
As the surface normal is calculated along with the coordinates, the surface depth was always being used when surface orientation was set. Therefore, even calculated, ignore the surface depth when it is not required. Also promote an optimization when neither orientation nor depth is required.
2022-08-12Merge branch 'blender-v3.3-release'Bastien Montagne
2022-08-12Py API doc: Add warning that py-defined property accessor callbacks may be ↵Bastien Montagne
called in threaded context. At least Depsgraph evaluation and liboverride diffing do process IDs in parallel, so python code in py-defined properties should not access any data outside of their owner ID. Ref. T100203.
2022-08-12Fix T100203: Freeze using `override_hierarchy_create` with Object level ↵Bastien Montagne
property with custom getter function. As suggested by @brecht, use the `BPy_BEGIN`/`END_ALLOW_THREADS` macros. Note that there may be other bits of code needing this too.
2022-08-12Merge branch 'blender-v3.3-release'Patrick Mours
2022-08-12Fix syntax error introduced in previous commitPatrick Mours
2022-08-12Merge branch 'blender-v3.3-release'Patrick Mours
2022-08-12Cycles: Improve denoiser update performance when rendering with multiple GPUsPatrick Mours
This patch causes the render buffers to be copied to the denoiser device only once before denoising and output/display is then fed from that single buffer on the denoiser device. That way usually all but one copy (from all the render devices to the denoiser device) can be eliminated, provided that the denoiser device is also the display device (in which case interop is used to update the display). As such this patch also adds some logic that tries to ensure the chosen denoiser device is the same as the display device. Differential Revision: https://developer.blender.org/D15657
2022-08-12Merge branch 'blender-v3.3-release'Bastien Montagne
Conflicts: source/blender/editors/space_outliner/tree/tree_element_overrides.cc
2022-08-12Cleanup: unused debug variable.Bastien Montagne
2022-08-12Merge branch 'blender-v3.3-release'Bastien Montagne
2022-08-12Cleanup: leftover debug prints.Bastien Montagne
2022-08-12Merge branch 'blender-v3.3-release'Bastien Montagne
Conflicts: source/blender/editors/space_outliner/outliner_tools.cc
2022-08-12LibOverride: Rework Outliner contextual menu.Bastien Montagne
Follow-up to design discussions here at the studio, add liboverride operations into their own sub-menu, with three main entries: - Create: Create, or enable for user editing, override hierarchies. - Reset: Keep overrides data, but reset all local changes to the reference linked data values. - Clear: like reset, but also turn editable overrides back to system overrides (aka non user editable). Those three options can all operate either on the selected items, their content only, or both. Advanced operations are moved into a "Troubleshoot Hierarchy" sub-menu, where one can resync, resync enforced, and fully delete library overrides. Those operations always affect a whole override hierarchy, regardless of which items are selected or not.
2022-08-12CMake: correct linking order regressionCampbell Barton
Library sorting from [0] caused WITH_GPU_BUILDTIME_SHADER_BUILDER to fail. It's possible there are missing dependencies that caused the change in order to break, for now revert that change. [0]: 19b5524d1c0c1c2ee78a8a75b8703b7cc72a8671
2022-08-12Cleanup: remove use_normals arugment to MOD_deform_mesh_eval_getCampbell Barton
Accessing the normals creates them on demand so there was no need to pass an argument requesting them.
2022-08-12Merge branch 'blender-v3.3-release'Campbell Barton
2022-08-12Merge branch 'blender-v3.3-release'Campbell Barton
2022-08-12Fix T100191: Crash with the wave modifier using normals in edit-modeCampbell Barton