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-02GL: Compute: Fix indirect compute barrier and unbindClément Foucault
This path is not used by any existing code so it isn't necessary to backport.
2022-08-02DRW: common_math_lib.glsl: Fix weighted_sum macroClément Foucault
This avoids issue when the macro is followed by another operator. Example: `float result = weighted_sum(a,b,c,d,w) * 5.0;`
2022-08-02DRW: Add image unbind in debug modeClément Foucault
This allows finding missing binds more easily as the missing binds slots won't be populated with previous texture binds.
2022-08-02DRW: Add `DRW_shgroup_call_procedural_indirect()`Clément Foucault
Replaces `DRW_shgroup_call_procedural_triangles_indirect`. This makes the indirect drawing more flexible. Not all primitive types are supported but it is just a matter of adding them.
2022-08-02DRW: Add DRW_shgroup_call_procedural_triangles_indirectClément Foucault
Just like the name suggest, this adds a way to draw a series of proceduraly positioned triangles using and indirect buffer.
2022-08-02DRW: GPU Wrapper: Fix invalid cached texture view when ensure() reallocsClément Foucault
2022-08-02DRW: GPU wrapper: Make SwapChain renference workClément Foucault
This make using texture reference easier. But now, it makes it mandatory for the wrapped type to implement the `swap()` static method.
2022-08-02DRW: GPU wrappers: Expose more ease of use functions and cleanup styleClément Foucault
2022-08-02GPUBatch: Add GPU_batch_draw_indirectClément Foucault
This allows rendering a batch with parameters computed by the GPU. Contains GL backend implementation.
2022-08-02EEVEE-Next: Expose Motion blur shutter curve in render panelClément Foucault
It is now fully supported. Also reorder panels to keep EEVEE-Next panels in the same ordered as EEVEE's ones.
2022-08-02Cleanup: Simplify functions for adding and removing color attributesHans Goudey
The specific functions for vertex colors and and sculpt vertex colors can be replaced by more generic attribute functions internally. Also remove a paramter from one function.
2022-08-02Cleanup: Remove unused sculpt and vertex color operatorsHans Goudey
The "Color Attributes" system from f7bbc7cdbb6cb0d2850 has replaced both "Sculpt Vertex Colors" and "Vertex Colors" in the UI. The Operators for adding and removing them are unused now. This commit does not break backwards compatibility with the Python API, it only removes the operators, which generally aren't used by addons anyway. The mesh RNA properties will be removed in 4.0 (T100153). Differential Revision: https://developer.blender.org/D15077
2022-08-02Cleanup: Simplify const cast in virtual array constructionHans Goudey
2022-08-02Cleanup: Simplify arguments to sculpt draw functionsHans Goudey
Instead of passing pointers to specific mesh data, rely on retrieving that data from the mesh internally. This makes it easier to support retrieving additional data from Mesh (like active attribute names in D15101 or D15169). It also makes the functions simpler conceptually, because they're drawing a mesh with an acceleration strcture on top. The BKE_id_attribute_copy_domains_temp call was unnecessary because the GPU_pbvh_mesh_buffers_update function was only called when Mesh/PBVH_FACES is used in the first place. Differential Revision: https://developer.blender.org/D15197
2022-08-02Fix T99812: Audio scrubbing freezes Blender 3.2.1Jörg Müller
Bug was caused by a change in ffmpeg's API.
2022-08-02Merge branch 'blender-v3.3-release'Aras Pranckevicius
2022-08-02Object: move collection resync after empty duplicate early-outAras Pranckevicius
As pointed out in rB02b1a209be88 comment, the BKE_main_collection_sync should be after "nothing to duplicate" early-out.
2022-08-02Fix T99255: Strips inserting incorrectlySebastian Parborg
When dropping file to sequencer timeline, coordinates for strip position and overlap handling are used even if not set. Reset internal state in on_drag_start callback and set is_modal variable only if coordinates are updated. This way when dragging file from external file browser, strip is added at current frame as before modal operator was implemented. Reviewed By: Richard Antalik Differential Revision: http://developer.blender.org/D15333
2022-08-02Merge branch 'blender-v3.3-release'Hans Goudey
2022-08-02Fix T96810: Invalid sculpt normals after some operationsHans Goudey
Mask and color brushes were using the existing PBVH vertex "update tag" to mark their modifications. This was mostly unnecessary, and causes unnecessary calculation of normals. It also caused errors though, because they didn't tag the corresponding PBVH node for normal recalculation, causing problems on the borders of nodes, since one node might accumulate into another's vertex normals, but the other node wouldn't also accumulate and normalize the normals. The solution is to only use the update tag for tagging deformed vertices that need recalculated normals. Everything else is handled at the PBVH node level (which was already the case, but it wasn't clear). The update tag was also used for undo to tag the nodes corresponding to changed vertices. This was wrong though, because normals and visibility would also be recalculated for just color or mask undo steps. Instead, just use local arrays to map from vertices to nodes. Differential Revision: https://developer.blender.org/D15581
2022-08-02Merge branch 'blender-v3.3-release'Richard Antalik
2022-08-02Fix T100049: Crash when render finishesRichard Antalik
Caused by NULL dereference of `Editing` before NULL check was done.
2022-08-02GPencil: Fix compiler warningAntonio Vazquez
The variable can never be NULL and the comparison was wrong.
2022-08-02Merge branch 'blender-v3.3-release'Hans Goudey
2022-08-02Fix: Use evaluated materials in OBJ exporterHans Goudey
Since 1a81d268a19f2f140, materials on object data can change during evaluation. But a different function is necessary to retrieve materials taking that into account. Solves part of T96721. Differential Revision: https://developer.blender.org/D15595
2022-08-02Automated testing: Add operators testsPratik Borhade
Part of {T84999} This patch adds test for - `dissolve_limited` - `dissolve_mode` - `merge_normals` Updated blend file: {F13162744} Reviewed By: zazizizou, mont29 Differential Revision: https://developer.blender.org/D15187
2022-08-02Merge branch 'blender-v3.3-release'Bastien Montagne
2022-08-02LibOverride: Add 'editable/clear' toggle to ID template.Bastien Montagne
Now when an ID template is set to an override ID, `Shift-Click` on the right button toggles between making it user-editable (if it's a system override), or clearing any user edit and setting it back to system override.
2022-08-02LibOverride: Expose in public API the utils to get actual override data.Bastien Montagne
This is useful when input ID is a 'non-override' one (like embedded IDs or shapekeys), to get override data and 'owner' ID pointer.
2022-08-02CMake: Check if freetype is compiled with brotli supportSebastian Parborg
Because of the recent changes to our core fonts, Freetype has to support Woff2 fonts or Blender will segfault on startup. This adds an explicit check for this to inform people compiling Blender about this requirement.
2022-08-02Fix T100119: Light object's parametric vector distorted in blender 3.4Sergey Sharybin
Caused by 38af5b050100. Adjust barycentric coordinates used for intersection result in the ray-to-rectangle intersection check. Differential Revision: https://developer.blender.org/D15592
2022-08-02Fix compilation error after recent DNA changesSergey Sharybin
Apparently, Clang allows to specify underlying enum type in C but onot GCC. The latter one is actually closer to the standard.
2022-08-02Merge branch 'blender-v3.3-release'Jeroen Bakker
2022-08-02Fix T99715: Only force optimal display during on cage editing.Jeroen Bakker
This loosens the current implementation a bit to only force optimal display when editing on cage. It used to be any editing mode. Brings GPU based subdivision closer to the CPU version.
2022-08-02Merge branch 'blender-v3.3-release'Bastien Montagne
2022-08-02Fix T100133: Crash when linking an evaluated object to a collection.Bastien Montagne
Note that ideally, we should have a protection mechnism at global RNA level, making e.g. any evaluated data read-only... But for now, give better (and more consistent) protection for the collections' link/unlink of children collections and objects.
2022-08-02Fix Unreported : add F-curves only filter to functions only appliable to ↵Amelie Fondevilla
F-curves channels. The filter was missing in some places that are using channel data as if it was f-curve channel. There seems to be no related issue or bug, but still it would be best to have them there. Reviewed By: sybren Differential Revision: http://developer.blender.org/D15505
2022-08-02Fix undefined behavior in dependency graph taggingSergey Sharybin
The tagging code was iterating over bits set in the ID_RECALC_ALL and was casting the flag to IDRecalcFlag. This was triggering an undefined behavior warning in Clang since the bit might not have a corresponding value in the enumerator. The solution is to pre-define all reacalc flags for all bits. While this seems a bit annoying this seems to be the least fragile solution from all suggested ones. Differential Revision: https://developer.blender.org/D15602
2022-08-02Depsgraph: Make naming and recalc flag sign consistentSergey Sharybin
Always use unsigned int for the recalc flags. This allows to use all 32 bit of integer for the flags without worrying about the sign. Use full notation of `unsigned int` instead of short `uint` to avoid pulling more headers in. Whenever depsgraph API allows passing combined recalc flags call the variable `flags` and use `unsigned int` type for it. For a single flag use `IDRecalcFlag` flag. No functional changes expected.
2022-08-02GPencil: Allow import several SVG at timeAntonio Vazquez
For SVG is very convenient to be able to import several SVG in one operation. Each SVG is imported as a new Grease Pencil object. Also, now the SVG file name is used as Object name. Important: As all SVG imported are converted to Grease Pencil object in the same location of the 3D cursor, the SVG imported are not moved and the result may require a manual fix of location. The same is applied for depth order, the files are imported in alphabetic order according to the File list. Reviewed By: mendio, pepeland Differential Revision: https://developer.blender.org/D14865
2022-08-02Merge branch 'blender-v3.3-release'Aras Pranckevicius
2022-08-02Fix T100118: Crash after Shift+D with nothing selected and then making new ↵Aras Pranckevicius
object Regression from rB2d041fc46823, the "nothing to do, return" code path was not re-enabling layer collection sync. Fixes T100118.
2022-08-02Cleanup: simplify uv parametrizer in preparation for C++Chris Blackbourn
No functional changes. Add casts required by C++. Simplify destructors. Simplify types.
2022-08-02Nodes: Remove node after link drag search cancelHans Goudey
Remove the node if the transform operation is cancelled rather than confirmed. This is consistent with the regular search menu.
2022-08-02Cleanup: simplify function for adding node to editorHans Goudey
Split it into two functions, one for static node types, and another for ID names.
2022-08-01Merge branch 'blender-v3.3-release'Aras Pranckevicius
2022-08-01Fix T99502: OBJ/MTL import: behavior changed for missing texture filesAras Pranckevicius
Python based OBJ importer, as well as glTF2 importer, are creating "placeholder" images for texture images that can't be found. These are empty textures (displayed as magenta), but with their file paths set so that File > External Data > Report Missing Files can report them as missing. Make the new C++ OBJ importer do the same as well. Fixes T99502.
2022-08-01USD import: Handle material purposeMichael Kowalski
This is a partial fix for T90535. USD allows binding materials generically as well as for a specific purpose. I.e., purpose may be generic (unspecified) or one of - Full: truest representation of the scene - Preview: lightweight material for preview Curently, only generically bound materials, with unspecified purpose (allPurpose), are imported. This issue is preventing preview materials from being imported in the Alab scene. This patch adds logic to attempt to fall back on importing preview or full materials, in that order, if there is no generic material bound to the mesh. Reviewed by: Sybren Differential Revision: https://developer.blender.org/D15352
2022-08-01Fix T100040: Crash when transform applied on multi-user imagePratik Borhade
Affected by rB8621fdb10dc4 Crash if single-user data is created when we apply transform on multi-user image data. Crash occurs because creation of new copy was not handled in `single_obdata_users` for empty objects (image for example) Reviewed By: dfelinto, mont29 Maniphest Tasks: T100040 Differential Revision: https://developer.blender.org/D15587
2022-08-01Merge branch 'blender-v3.3-release'Bastien Montagne