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-29Fix T99004: scaling volume down results in crashJacques Lucke
OpenVDB crashes when the determinant of the grid transformation is too small. The solution is too detect when the determinant is too small and to replace the grid with an empty one. If possible the translation and rotation of the grid remains unchanged. Differential Revision: https://developer.blender.org/D15806
2022-08-29I18n: translate newly created node group socketsDamien Picard
Translate: - new group socket names - default names Input and Output - on connecting a link from another node - new geometry nodes input and output socket names Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15763
2022-08-29Weight Paint: use coordinates from normal evaluated mesh if same topology.Alexander Gavrilov
Weight and Vertex paint don't change coordinates and thus don't need crazyspace data, which allows using coordinates from normal evaluated meshes. Since painting uses original topology, the deform only mesh is used, but if the fully evaluated mesh has the same topology, it is preferred. This is useful because not only Geometry Nodes, but even simple weight computation modifiers are excluded from the deform only mesh evaluation. Differential Revision: https://developer.blender.org/D15501
2022-08-29GPencil: New conversion to outline in draw modeAntonio Vazquez
This new option converts the stroke to outline perimeter as soon as is drawn. If no alternative material is set, the actual material is used. The algorithm is similar to the new operator in D15664 Reviewed By: pepeland Differential Revision: https://developer.blender.org/D15738
2022-08-28Curves: Avoid creating types array when unnecessaryHans Goudey
When the curve type attribute doesn't exist, there is no reason to create an array for it only to fill the default value, which will add overhead to subsequent "add" operations. I added a "get_if_single" method to virtual array to simplify this check. Also use the existing functions for filling curve types. Differential Revision: https://developer.blender.org/D15560
2022-08-28Cleanup: replace NULL with nullptr for C++ filesCampbell Barton
2022-08-27Merge branch 'blender-v3.3-release'Bastien Montagne
2022-08-27Cleanup: Remove two files committed by mistake.Bastien Montagne
Committed in rB3c7a6718ddc.
2022-08-27Cleanup: rename filename to filepath when used for full pathsCampbell Barton
2022-08-27CMake: include missing header filesCampbell Barton
2022-08-27Cleanup: pass notifiers as constCampbell Barton
2022-08-26CustomData: Add function to get name of default layerHans Goudey
Used by D14365
2022-08-26Merge branch 'blender-v3.3-release'Bastien Montagne
2022-08-26Fix assert in id remapper tests.Bastien Montagne
Was using uninitialized ID name, leading to unknown ID type. Thanks at Ray molenkamp (@LazyDodo) for noting the issue.
2022-08-26Cleanup: Fix const correctness in CustomData set name functionHans Goudey
The function does modify the object since it changes the name of a layer it owns. Ideally this wouldn't be possible, but raw pointers don't have ownership semantics so this is a common problem with CustomData.
2022-08-26Cleanup: use booleansCampbell Barton
2022-08-26Cleanup: quiet GCC array bounds warningCampbell Barton
2022-08-26Cleanup: reduce variable scopeCampbell Barton
2022-08-26Cleanup: spelling in comments, formatCampbell Barton
2022-08-25Merge branch 'blender-v3.3-release'Bastien Montagne
2022-08-25Fix T100255: Make RigidBodyWorld (and effector_weights) collections refcounted.Bastien Montagne
Those collections were so far mainly just tagged as fake user (even though a few places in code already incremented usercount on them). Since we now clear the fakeuser flag when linking/appending data, ensure that these collections are preserved by making these usages regular ID refcounting ones. Reviewed By: brecht Differential Revision: https://developer.blender.org/D15783
2022-08-25Revert "LibOverride: Preserve viewlayers when creating overrides of ↵Bastien Montagne
collecitons." Commit is not working as expected in some cases, as revealed by liboverride testcase entering infinite loop. Code needs some more thinking. This reverts commit ee7bd79b54a32d64fe0337695d438ad34990d121.
2022-08-25LibOverride: Preserve viewlayers when creating overrides of collecitons.Bastien Montagne
Usually, when overriding collections, the linked reference ones are removed from the ViewLayer, and the overrides replace them. This change to `layer_collection_sync` code makes it so that in case there is a free viewlayer hierarchy matching the linked collection, it gets re-used for the override one, instead of re-creating everything from scratch. To achieve this, resync process is split into two steps, first regular collections are processed, then the override ones. This should ensure an override does not steal the layers of its reference if the later is still instantiated in the view layer.
2022-08-25Cleanup: rename mat3_to_quat_is_ok to mat3_to_quat_legacyCampbell Barton
Update comment, noting why this is kept.
2022-08-25Cleanup: Add asserts to curves data-block creationMattias Fredriksson
Ref D14481
2022-08-25Cleanup: Improve commentsMattias Fredriksson
Add to comments in curves header, fix typo in attribute header. Ref D14481
2022-08-24Cleanup: Fix typo in commentHans Goudey
Added by mistake in 6718afdc8a32.
2022-08-23Fix: Write hide status attributes for undo stepsHans Goudey
We don't convert to the old mesh format when writing undo steps to avoid overhead. So we can't skip writing the hide attributes then.
2022-08-23Fix T100482: Face Set visibility reset after savingHans Goudey
The face hide attribute wasn't created in order to store the visiblity from the face sets, it was only updated if it already existed.
2022-08-23Cleanup: Move paint.c to C++Hans Goudey
2022-08-23Cleanup: Use utility to write palette color listHans Goudey
2022-08-23Cleanup: Avoid using invalid attribute domainHans Goudey
The number of attribute domains isn't an attribute domain, so storing ATTR_DOMAIN_NUM in a variable with an eAttrDomain type isn't correct. In the cases it was used, the value wouldn't be accessed anyway.
2022-08-23Depsgraph: use more fine grained update tags for scenesBrecht Van Lommel
Ref D15710, this avoids unnecessary sequencer updates for some operations.
2022-08-23ImBuf: Optimize GPU memory by using 1 component format for grayscale imagesJeroen Bakker
This is done by checking the number of bitplanes from the image buffer. We assume that for float buffer to use the same bitplanes as it was a byte buffer. Then, the data of the image buffer is packed at the start of the `rect` or `float_rect` before upload. **Statistics - einar.v004.blend ** Note that not all grayscale textures have been stored as BW images so the amount of memory that can be reduced would be more. Without patch ``` 104 Textures - 3294.99 MB (3294.47 MB over 32x32), 37 RTs - 192.52 MB. Avg. tex dimension: 2201.88x1253.51 (2283.53x2202.13 over 32x32) 464 Buffers - 25.01 MB total 1.24 MB IBs 23.50 MB VBs. 3512.52 MB - Grand total GPU buffer + texture load ``` Patch applied ``` 104 Textures - 2917.66 MB (2917.14 MB over 32x32), 39 RTs - 215.45 MB. Avg. tex dimension: 2221.38x1252.75 (2323.28x2253.47 over 32x32) 467 Buffers - 25.01 MB total 1.24 MB IBs 23.51 MB VBs. 3158.13 MB - Grand total GPU buffer + texture load. ``` Reviewed By: fclem Differential Revision: https://developer.blender.org/D15484
2022-08-23Merge branch 'blender-v3.3-release'Jacques Lucke
2022-08-23Fix T100318: handle custom nodes in field inferencing more gracefullyJacques Lucke
Custom nodes are not supported, but it shouldn't crash here.
2022-08-23Merge branch 'blender-v3.3-release'Jacques Lucke
2022-08-23Fix T99932: video in node group does not playJacques Lucke
2022-08-23Cleanup: Turn filter node methods into an EnumOmar Emara
This patch turns the filter node methods into an enum and renames the members from FILT into FILTER for easier writing.
2022-08-23Cleanup: remove unnecessary NULL checkCampbell Barton
2022-08-23Cleanup: match names between functions & declarationsCampbell Barton
2022-08-22Merge branch 'blender-v3.3-release'Bastien Montagne
Conflicts: release/scripts/startup/bl_ui/space_userpref.py
2022-08-22I18n: disambiguate a few translationsDamien Picard
- Keying (keyframe insertion) - Roughness (particle children) - New image, collection, text (in menus) - Parents (particles) - Wrap (text) - Light (add menu) - Empty (volume add menu) - Empty (empty add menu) - Cycles (f-curve modifier) - Drag (workspace tool type) - Power (light intensity) - Power (math nodes) This last change also moves all math operations in nodes to the ID_nodetree context. It's needed only for some operations, but we can't be more granular here. Also... - Fix context extraction for interpolation mode headers in F-Curves and GPencil interpolation operator - Enable new translation: "Slot %d" in image editor - Fix an English message in the node editor: "Replace the input image's alpha channels by..." -> channel Ref. T43295 Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15694
2022-08-22Revert "Fix T99259: Python API: ViewLayer.aovs.remove isn't available"Jeroen Bakker
This reverts commit ae7909010fba2605af1b7f32b5574df3381d4d3f.
2022-08-22Fix T99259: Python API: ViewLayer.aovs.remove isn't availableMangal Kushwah
Imeplemented **ViewLayer.aovs.remove** by Adding a new rna function to call the internal **BKE_view_layer_remove_aov**, removed assert from **BKE_view_layer_remove_aov**. Reviewed By: jbakker Maniphest Tasks: T99259 Differential Revision: https://developer.blender.org/D15341
2022-08-22Cleanup: move inline unit system search into a functionCampbell Barton
Improved readability and remove redundant NULL checks. Also remove redundant assignment.
2022-08-19Outliner: (Refactor) Use C++ map instead of GHashJulian Eisel
This container is type safe and contains a few nice optimizations, although they shouldn't make a big difference here in practice. The hashing now uses our default hashing method which reduces code complexity and seems to perform slightly better in my tests. For a Heist shot with a highly complex library overrides hierarchy in the Outliner this reduces the tree building time from around 25 to 23.6 seconds here. However the main design change for performance is yet to come, all this is just general code refactoring (which at least shouldn't make performance worse).
2022-08-19Merge branch 'blender-v3.3-release'Brecht Van Lommel
2022-08-19Fix build error on i386 due to wrong use of float_tBrecht Van Lommel
Was supposed to be float, likely copy paste error from int32_t.
2022-08-19Merge branch 'blender-v3.3-release'Jacques Lucke