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-03-21Cycles: Un-pause render when switching to rendered viewportSergey Sharybin
Consider switching to rendered shading type as a request to start rendering, without requiring to un-pause. This minimizes amount of clicks needed to start rendering after viewport was paused once, and then shading mode got changed. Reviewed By: brecht Differential Revision: https://developer.blender.org/D14244
2022-03-21T84815: Missing preview image in compositing file output nodePierre Risch
Hello, I saw that this revision was stalled for a few months so I tried to update it. https://developer.blender.org/D10995 I added a function that adds a preview on the first connected input of the file output node. I removed the preview on the single layer format Thanks Reviewed By: #compositing, jbakker Maniphest Tasks: T84815 Differential Revision: https://developer.blender.org/D14219
2022-03-21Fix T96572: eevee crash with motion blur and stereoscopyJacques Lucke
This was a use-after-free bug due to dangling pointers.
2022-03-21Fix T96255: Node socket fails to dragCampbell Barton
This is a general issue exposed by moving from tweak to click-drag events [0], however this bug would have existed for both click & click-drag events beforehand. Since [1] the following behavior could occur: - Click-drag the cursor away from the button. - Leaving the button would flag it as disabled. - The disabled button would then break causing the event to be considered handled. - Once handled no click / click-drag action would be tested. The bug would only happen if the cursor left the button before the drag threshold was reached which tended to happen with an UI-scale 2 or more. Or with an increased drag threshold. Revert [1] (fix for T78503), which is no longer needed since as of [2]. [0]: 4986f718482b061082936f1f6aa13929741093a2 [1]: 6f96dd85766a8159d5ffb761cbb4dbd20b7cad00 [2]: 87c13ac68c477486adecd8d548a016309fc2b54d
2022-03-21Correct error in 3dc44f8c89acc082334034982ffc8bc802f23475Campbell Barton
The array for event.flag was too big, harmless but incorrect. Remove the size from the declaration as it's not needed.
2022-03-21Event System: improve event printingCampbell Barton
- Use set-style printing of modifier flags instead of booleans. - Include event.flag. - Print on a single line (so output can be more easily filtered).
2022-03-21Cleanup: cursor motion events now have value set to KM_NOTHINGCampbell Barton
In some cases value of cursor motion events was set from the last event written to the wmWindow.eventstate. Avoid potential errors by ensuring cursor motion events always have their value set to KM_NOTHING.
2022-03-21Fix T96510: ASAN failure when selecting text in Text EditorGermano Cavalcante
Regression in 541ba689913e8359216a61a67a60425837af88a9
2022-03-20Fix T96470 new obj exporter writing material groupsAras Pranckevicius
This is patch D14349 from Aras Pranckevicius. The logic in the code was _completely different_ from the documentation and what the python exporter in 3.0 did. The new code assumed that "export material groups" meant "append material name to the object name", and was only ever kicking in when the "export object groups" option was also checked. But the proper behavior (as in 3.0 exporter & the online docs), is to emit g objectname_materialname before each usemtl line. Which is something entirely else.
2022-03-20Fix T96415: new OBJ exporter was applying scaling factor incorrectlyAras Pranckevicius
This is patch D14347 from Aras Pranckevicius. Instead of scaling "the scene" (i.e. transform vertices by object matrix, then multiply by scale factor), it was instead first applying the scale factor in local space, and then transforming by the object matrix.
2022-03-20GPencil: Port main object shader to ShaderCreateInfoClément Foucault
This is quite a huge cleanup. Making use of the `common_gpencil_lib.glsl` to share more codes and use more consistent codestyle. The gpencil engine specifics are now out of the `gpencil_vertex()` function making it easier to add more features. There should be no regression as all workarounds are kept as is.
2022-03-20GPUSource: Fix failure case in the enum preprocessorClément Foucault
Some C headers might define the typedefs of the enum themselves. Even if they are guarded by preprocessor `#if`, our enum preprocessor has no idea of the validity of the statement. So we just bypass if there is a typedef just before any `enum` keywords. Note that the typedef matching is quite fragile.
2022-03-20DRW: Port improvements in common_math_lib.glsl from `eevee-rewrite`Clément Foucault
Mostly quality of life functions and macros.
2022-03-20DRW: Make use of shader shared headerClément Foucault
# Conflicts: # source/blender/draw/intern/draw_manager.h # source/blender/draw/intern/draw_manager_exec.c # source/blender/draw/intern/draw_shader_shared.h
2022-03-20DRW: Introduce GPencil common GLSL libraryClément Foucault
This library contains the needed functions to render GPencil object geometry. Centralizing these will make it possible for other draw engines (EEVEE, Overlay) to reuse the same vertex shader code and possibly the same fragment rejection methods.
2022-03-20GPencil: Use ShaderCreateInfo for fullscreen shadersClément Foucault
Simple port. Shouldn't break anything.
2022-03-20GPencil: Use ShaderCreateInfo for antialiasing shadersClément Foucault
Simple port. Shouldn't break anything.
2022-03-20GPencil: Use ShaderCreateInfo for vfx shadersClément Foucault
Simple port. Shouldn't break anything.
2022-03-20DRW: Add new texture from pool acquire/release mechanismClément Foucault
This adds a simple and more manageable temp texture behavior. The texture is garanteed to be available only between the acquire/release pair. This makes the same engine able to reuse the textures and even overlap the acquire & release calls.
2022-03-20DRW: GPU wrappers: Some quality of life improvementsClément Foucault
- Add name support to storage buffers - Delete view functions for TextureFromPool - Add support for different size acquire and assert on mulitple acquire - Allow multiple release
2022-03-19Fix T96430: new OBJ exporter wrong normals for non-uniform scale, and wrong ↵Aras Pranckevicius
face order for negative scale This applies patch D14343 from Aras Pranckevicius, with a description: The new 3.1+ OBJ exporter did not have correct logic when faced with non-uniform & mirrored (negative on odd number of axes) object scale: - Normals were not transformed correctly (should use inverse transpose of the matrix), and were not normalized, - Face order was not "flipped" when transform has negative scale on odd number of axes (visible when using "face orientation" viewport overlay).
2022-03-19Make Format ChangesHarley Acheson
Only formatting changes found by running "make format", no functional changes Committed without review, but with verbal approval by Hans Goudey
2022-03-19Fix T95257: Filter files on "name" and "relpath"Harley Acheson
When filtering File Browser items by name, use entry's "name" field as well as the "relpath" field since they can vary. See D13940 for details. Differential Revision: https://developer.blender.org/D13940 Reviewed by Bastien Montagne
2022-03-19Fix D14173: Chinese IME Full Width NumbersHarley Acheson
Windows IME: Fix duplicated initial character when entering numbers while in Chinese full width character mode. See D14354 for more details. Differential Revision: https://developer.blender.org/D14354 Reviewed by Brecht Van Lommel
2022-03-19BLI: generalize converting CPPType to static typeJacques Lucke
Previously, the conversion was done manually for a fixed set of types. Now, there is a more general utility that can be used in other contexts (outside of geometry nodes attribute processing) as well.
2022-03-19BLI: move generic data structures to blenlibJacques Lucke
This is a follow up to rB2252bc6a5527cd7360d1ccfe7a2d1bc640a8dfa6.
2022-03-19Fix T96584: Properly translate operator on splash screenJesse Yurkovich
The previous fix looks to have been accidentally removed as part of rB7aec5b06227. Restore the change.
2022-03-19Revert "Compositor: Support backdrop offset for the Viewer node"Brecht Van Lommel
This reverts commit 33409f9f1cd42e899f2706fe7878e5e89b50d617, as it breaks panning in the image editor. Fixes T96543
2022-03-18Cleanup: Move object_transform.c to C++Hans Goudey
Compilation and clang tidy fixes, use Vector instead of the macro-based C array system. Builds on all platforms on the buildbot.
2022-03-18DRW: gpu wrappers: Fix compilation in release modeClément Foucault
2022-03-18GPUTexture: Add Cube view as 2D arrayClément Foucault
This is useful to read/write to the textures directly using compute shaders and imageLoad/Store.
2022-03-18DRW: Expose stencil view in gpu_wrapperClément Foucault
2022-03-18Cleanup: DRW: Fix comments in DRW_gpu_wrapperClément Foucault
2022-03-18DRW: Add support for compute indirect command.Clément Foucault
This just expose the GPU API through DRW.
2022-03-18GPU: Add indirect dispatch support.Clément Foucault
This uses a StorageBuf as the source of indirect dispatch argument. The user needs to make sure the parameters are in the right order. There is no support for argument offset for the moment as there is no need for it. But this might be added in the future. Note that the indirect buffer is synchronized at the backend level. This is done for practical reasons and because this feature is almost always used for GPU driven pipeline.
2022-03-18GPU: StorageBuf: Add method to clear the buffer in place.Clément Foucault
This is a faster way to clear a buffer instead of reuploading new data. It is equivalent to `memset` and runs directly on the GPU. This is better to clear huge buffers and to avoid the sync cost of data upload.
2022-03-18Cleanup: GPUStorageBuf: Fix header licenseClément Foucault
2022-03-18Cleanup: SSBO: Rename ubo to ssbo in arguments.Clément Foucault
2022-03-18GPU: Add support for stencil buffer texturing mode.Clément Foucault
This adds the possibility to read the stencil buffer inside shaders. This is only available on GL 4.3 so use it accordingly.
2022-03-18GL: Check texture framebuffer feedback only if not using compute pipeline.Clément Foucault
This was getting in the way in multiple instances. Compute shaders dispatch are still made in the presence of the last bound framebuffer even if they do not interact with it.
2022-03-18GPUTexture: Fix bug in texture view creationClément Foucault
The switch case was based on an uninitialized value.
2022-03-18GL: Add missing format in image layout conversionClément Foucault
2022-03-18GPUShaderCreateInfo: Add explicit early_fragment_testClément Foucault
2022-03-18DRW: Add simple texture view wrappers to draw::TextureClément Foucault
2022-03-18GPUTexture: Expose layer & mip countClément Foucault
2022-03-18GLShader: Fix two small issues with compute shader generated codeClément Foucault
2022-03-18DRW: Add support for GPUStorageBuf in wrappersClément Foucault
# Conflicts: # source/blender/draw/engines/eevee/eevee_light.cc # source/blender/draw/engines/eevee/eevee_shadow.cc
2022-03-18DRW: Add support for GPUStorageBufClément Foucault
2022-03-18GPU/GL: Add StorageBuf implementationClément Foucault
Almost 1:1 identical to UniformBuf implementation.
2022-03-18GPUShader: Fix crash when compilation error is a linking errorClément Foucault