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
2021-04-25Fix T87799: Crash when switching to Info EditorGermano Cavalcantemano-wii
Use of uninitialized variable. Problem introduced in 87a70801c6a9fe5077ca882dec820a8f24deb07e.
2021-04-25Fix build issue due to previous commitRay Molenkamp
Revert in rB05dddb71b098 did a poor job and left some rubbish.
2021-04-25Revert "Info Editor: move to c++"Ray Molenkamp
This reverts commit 9cce18a5858cb93da626f5f0fd7e09cd66637e05. rB9cce18a5858c broke the build in unforeseen ways, not easily fixable. revert for now, so master will at least build again.
2021-04-24Fix windows build: Don't use designated initializers in C++Hans Goudey
Removes a cast in an argument followed by an initializer list, and designated initializers, which are only part of the C++20 standard.
2021-04-24Fix T87682 Boolean Exact crash.Howard Trickey
The triangulator I made (using CDT) doesn't work if the face self-intersects. Fall back to the polyfill triangulator when that happens.
2021-04-24Info Editor: move to c++Jacques Lucke
I'm currently doing some experiments in the info editor and for that it is easier if the info editor is in c++ already.
2021-04-24Cleanup: Remove unused flagGermano Cavalcante
2021-04-24Cleanup/Refactor: Unify similar flagsGermano Cavalcante
2021-04-24Cleanup/Refactor: Move FOREACH_TRANS_DATA_CONTAINER to outside of some functionsGermano Cavalcante
So we can reuse the same loop for different corrections.
2021-04-24Cleanup: Add a common prefix for some transform functionsGermano Cavalcante
2021-04-24Cleanup: Move transform recaldata functions to their respective filesGermano Cavalcante
2021-04-24Cleanup: Add a common prefix for some transform functionsGermano Cavalcante
2021-04-24Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-24Fix T85567: Crash accessing gizmo group on `__del__`Campbell Barton
- Re-order freeing so an instances __del__ method runs before the `ExtensionRNA` has been freed. - "remove" functions no longer free the gizmo/gizmo-group memory, needed so the identifier used when freeing the extension doesn't use the freed identifier.
2021-04-23Merge branch 'blender-v2.93-release' into masterAnkit Meel
2021-04-23macOS: Fix unknown -Wsuggest-override warningAnkit Meel
Added in rB7cef01b090c4c2d2703274edb91886ae37d3ce82 and rB87bfa2b207b90b5e34ebd835a23c2a82afbed878 Reviewed by: jbakker, #platform_macos Differential Revision: https://developer.blender.org/D11012
2021-04-23GPencil: Fix unreported reproject errorAntonio Vazquez
This bug was introduced in e1acefd45e23
2021-04-23GPencil: Add Multiframe support to Move to LayerAntonio Vazquez
Reviewed By: mendio Maniphest Tasks: T87426 Differential Revision: https://developer.blender.org/D11013
2021-04-23GPencil: Change maximum value for Fill precissionAntonio Vazquez
The old value of 5 was not enough for some situations.
2021-04-23Merge branch 'blender-v2.93-release'Hans Goudey
2021-04-23Fix T87749 (partially): Text jitter in buttons and spreadsheet editorLeon Leno
This patch fixes jittering text when resizing regions of the UI as described in T87749. The jitter was caused by the text padding being stored as an integer which lead to inconsistent rounding. Most notably this patch fixes the jitter in the new spreadsheet editor, but not all occurrences of jitter described in T87749 (e.g. in UI lists) are addressed. Differential Revision: https://developer.blender.org/D11060
2021-04-23VSE: reset strip transform with "Set Render Size" operatorSybren A. Stüvel
Reset the active strip offset and scale, in the "Set Render Size" operator (`SEQUENCER_OT_rendersize`). This ensures that the active strip will actually fit the new render size, which is what the operator is intended to achieve.
2021-04-23Cleanup: VSE, reduce cognitive complexity of sequencer_rendersize_exec()Sybren A. Stüvel
Reduce the cognitive complexity of the `sequencer_rendersize_exec()` function by flipping some conditions and returning early. No functional changes.
2021-04-23Cleanup: clang-formatCampbell Barton
2021-04-23Cleanup: use const arguments, reduce right shiftCampbell Barton
2021-04-23Merge branch 'blender-v2.93-release'Bastien Montagne
2021-04-23Fix bug/crash in ID bulk deletion code.Bastien Montagne
This is complex situation. Tagged ID deletion (used to delete several data-blocks at once) removes IDs to be deleted from Main. But when we remove deleted IDs' usages of other IDs (using `BKE_libblock_relink_ex`), some specific post-process is required on some types, like Collections. Those post-processes would in some cases rely on data actually being in Main. That failing condition would lead in existing code on missing processing the very ID (collection) we were working on, leading to missing removing some child collection pointers, leading to the crash (later on in LayerCollection resync process). For now we go with an optimization & fix that avoids processing all collections in Main when we actually know which one we are working one (case of `BKE_libblock_relink_ex`, but not of `BKE_libblock_remap_locked`). This is however yet another demonstration of the need to rework that whole collection/layer resync process, since it is not only extremely inneficient currently, but it also requires valid Main/ID state way too deep into the remapping code. NOTE: This fix may very well not catch/address all possible fail cases here, dealing with the double parent/child relationships of collections is challenging... Issue reported by @eyecandy from the studio, thanks.
2021-04-23Merge branch 'blender-v2.93-release'Jacques Lucke
2021-04-23Fix T87582: incorrect interpolation from edge to corner domainJacques Lucke
2021-04-23Geometry Nodes: warn when output attribute has not been savedJacques Lucke
2021-04-23Fix T87661: Attribute Combine XYZ node can't overwrite existing attributeJacques Lucke
2021-04-23Merge branch 'blender-v2.93-release'Jeroen Bakker
2021-04-23Modifiers: Performance Simple DeformationJagannadhan Ravi
Use multiprocessing with simple deform modifiers. Master 2.92 fps this patch 3.13 fps on Ryzen 1700X With Vega 64 GPU. 3970X: 2.85 fps -> 2.95 fps 3990X: 3.15 fps -> 3.41 fps 3995WX: 3.21 fps -> 3.38 fps Reviewed By: jbakker Differential Revision: https://developer.blender.org/D10609
2021-04-23Fix T78845: Eevee wrong material selection.Jeroen Bakker
In cases where the same node tree is used in different materials with small changes, the wrong material could be selected. Cause: Hair shaders GPU resources weren't updated and used the previous bound data. Reviewed By: fclem Differential Revision: https://developer.blender.org/D11036
2021-04-23Fix T86765: Custom properties are included in `__dir__`Campbell Barton
Remove custom properties from `__dir__` method result since these can't be accessed using `__getattr__`. Introduced in the 2.5x Python API update.
2021-04-23Fix T86566: Do Not Close if File Cannot Be SavedHarley Acheson
If saving a file using CloseSave dialog, do not close if there is an error doing so, like if read-only. Differential Revision: https://developer.blender.org/D10722 Reviewed by Julian Eisel
2021-04-23UI: Join or Close Any Screen AreaHarley Acheson
Corner action zones allow joining any neighbors. New 'Area Close' operator. Improved Header Context Menu. Differential Revision: https://developer.blender.org/D8084 Reviewed by Campbell Barton
2021-04-23Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-23Fix for building with MSVCCampbell Barton
2021-04-23Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-23Fix T86170: Memory leak clearing the Python instance for COW id dataCampbell Barton
As Python can access COW ID's, ensure it's instance is kept on update. This could happen when the "Use Self" argument was enabled for a driver.
2021-04-23Cleanup: quiet clang-tidy warningCampbell Barton
2021-04-22Fix too big grid plane for Add Object tool on Retina displaysJulian Eisel
The grid plane was drawn too big on retina displays compared to other screens, because the factor was multiplied by the native pixel-size, which is 2 for Retina displays.
2021-04-22Assets: Correct name of own recently added BPY functionsJulian Eisel
Makes the functions (introduced in 557b3d2762a6) follow existing naming conventions for the API. Changes: `bpy.types.ID.mark_asset` to `bpy.types.ID.asset_mark` `bpy.types.ID.clear_asset` to `bpy.types.ID.asset_clear`
2021-04-22Fix T87688: Crash entering valid text into number fieldFalk David
When the user entered a driver expression like `#frame` into a number field, Blender would crash sometime after. This is because e1a9ba94c599 did not handle this case properly and ignored the fact that the user can enter text into the field. The fix makes sure that we only cancel if the value is a *number* equal to the previous value in the field. Note that this could also be handled by `ui_but_string_set` which would be a bit nicer potentially. However, I was unable to find a clean way of passing `data->startvalue` into that function. `uiHandleButtonData` is only known locally inside `interface_handlers.c`. Reviewed By: Severin Maniphest Tasks: T87688 Differential Revision: https://developer.blender.org/D11049
2021-04-22Geometry Nodes: Add initializer for attribute creationHans Goudey
Previously we always had to set attribute values after creating the attribute. This patch adds an initializer argument to `attribute_try_create` which can fill it in a few ways, which are explained in code comments. This fixes T87597. Differential Revision: https://developer.blender.org/D11045
2021-04-22Fix T87701: debug assert generating scene preview renderBrecht Van Lommel
2021-04-22Fix missing includeGermano Cavalcante
2021-04-22Geometry Nodes: Get attribute domain and type without allocationHans Goudey
Because we use virtual classes (and for other reasons), we had to do a small allocation when simply retrieving the data type and domain of an existing attribute. This happened quite a lot actually-- to determine these values for result attributes. This patch adds a simple function to retrieve this meta data without building the virtual array. This should lower the overhead of every attribute node, though the difference probably won't be noticible unless a tree has very many nodes. Differential Revision: https://developer.blender.org/D11047
2021-04-22Fix missing includeGermano Cavalcante