September 22, 2021, 13:54 (GMT) |
UI: enable the depend-on-cursor flag for some operators - Bend (Transform). - Extrude to Cursor. - Lasso Select (related operators such as node-cut links, mask.. etc). - Rip Mesh / UV's. - Vertex/Edge Slide. |
September 22, 2021, 13:54 (GMT) |
UI: expose "Lasso Select" & "Extrude to Cursor" in menus - Show "Lasso Select" in menus (along with Box & Circle select) - Show "Extrude to Cursor" (along with other extrude actions). - Rename operators that add/extrude on Ctrl-Click since their names were inconsistent. This is mainly for discoverability. |
September 22, 2021, 13:54 (GMT) |
Cleanup: remove KM_MOD_SECOND & KM_SHIFT2, KM_CTRL2.. etc These were added in a1c8543f2acd7086d412cb794b32f96794b00659 (2007) but never used. Nor did they have any meaning in practice. Note that versioning keymap items isn't needed as these values were never set. The code-paths that set these values also set KM_MOD_FIRST causing `keymap_event_set` to only ever assign values of 0 or 1. These flags complicate further exposing KM_ANY (-1) which is also a valid value for modifiers. |
September 22, 2021, 13:54 (GMT) |
WM: expose the "any" state of KeyMapItem modifiers Change KeyMapItem.alt/ctrl/shift/oskey to integer types, where -1 is used to ignore the modifier when matching key-map items. It was only possible to set all modifiers to -1 at once from RNA using the 'any' property. Afterwards individual modifiers could be set back to true/false. Although these key-map items could not be exported/imported. Exposing the values directly avoids the need for cumbersome workarounds. |
September 22, 2021, 13:54 (GMT) |
Fix T85564: FCurve modifier zero influence on restrict range borders When using FModifier `Restrict Frame Range`, the resulting influence was zero being exactly on `Start` / `End` range borders (so borders were **exclusive**). This made it impossible to chain FModifers together (forcing the user to specify values slightly below the desired border in following FModifiers). This is now corrected to be **inclusive** on Start / End range borders. Before {F10234864} After {F10234865} Testfile {F10234866} In the case of touching open borders (so [frame A frame B] followed by [frame B frame C]) both modifiers are evaluated (in stack order). If the later modifier has full influence (and is not additive) this simply means the result is the same as the later modifier's value. If influences below 1 are used (or modifiers are additive) both modifier's values are interpolated/added accordingly. technical notes: - this was caused by the introduction of FModifier Influence/BlendIn-Out in rB185663b52b61. - for comparison, see other occurrences of `FMODIFIER_FLAG_RANGERESTRICT`. - the following conditions in `eval_fmodifier_influence` for blend in/ out have been changed accordingly. Maniphest Tasks: T85564 Differential Revision: https://developer.blender.org/D10401 |
September 22, 2021, 13:54 (GMT) |
Fix T91448: GPencil Fill simplify not working in render The simplify was hardcode to be disabled in render. |
September 22, 2021, 13:54 (GMT) |
Blenlib: introduce a UUID type Add `BLI_uuid` and `DNA_uuid_types.h` with a UUID implementation following RFC4122 (https://datatracker.ietf.org/doc/html/rfc4122.html). The following features are implemented: - A struct of 128 bits that can be used in DNA definitions. - Generation of version 4 UUIDs, that is, purely random ones. - UUID equality function. - String to UUID and UUID to string conversion functions that are compatible with RFC4122. - C++ stream operator that outputs the UUID as string. This UUID will be used by the asset system, to uniquely identify asset catalogs. Reviewed By: Severin, jacqueslucke Differential Revision: https://developer.blender.org/D12475 |
September 22, 2021, 13:54 (GMT) |
Fix T91481: Grease Pencil Layer Double Transformations Use the inverse of the grease pencil object. This patch fixes the issue for bones and objects. Maniphest Tasks: T91481 Differential Revision: https://developer.blender.org/D12539 |
September 22, 2021, 13:54 (GMT) |
Cleanup: fix memory leak |
September 22, 2021, 13:54 (GMT) |
Cleanup: clang-tidy warnings in UUID code Use C++ version of C headers, and avoid static function call on instance. No functional changes. |
September 22, 2021, 13:54 (GMT) |
Fix (harmless) mistake in recent new Append code. This code path is not yet used so no harm, but that was a fairly nasty potential crash-generator. |
September 22, 2021, 13:54 (GMT) |
Geometry Nodes: hide Attribute Remove node when fields are enabled |
September 22, 2021, 13:54 (GMT) |
UI: Always Create Asset Previews This patch allows Asset Browser previews to be made regardless of the setting of the (unrelated) "File Preview Type" Preference. See D12484 for more details. Differential Revision: https://developer.blender.org/D12484 Reviewed by Julian Eisel |
September 22, 2021, 13:54 (GMT) |
Fix T91461: Pose Library name filter not working since `AssetHandle` does not have a `name_property` (`RNA_def_struct_name_property`), and the UIList is just using the default `uilist_filter_items_default` it simply cannot filter on names (`RNA_struct_name_get_alloc` wont succeed). Adding a name_property also wont work since `AssetHandle` inherits `PropertyGroup` (which already sets name_property). So this adds a (temporary) hack exception for RNA_AssetHandle in uilist_filter_items_default until the design of `AssetHandle` progresses further. thx @Severin for additional feedback Maniphest Tasks: T91461 Differential Revision: https://developer.blender.org/D12541 |
September 22, 2021, 13:54 (GMT) |
Cleanup: typo |
September 22, 2021, 13:54 (GMT) |
Cleanup: add missing includes |
September 22, 2021, 13:54 (GMT) |
Py API Docs: Fix audio docs example After new AUD API changes from 2.8x what "buffer" function used to do has now become "cache" function (it caches a sound into RAM). Therefore, the basic aud example should call this new "cache" function instead of "buffer" function. Thanks to Michael-Z-Freeman for pointing out. |
September 22, 2021, 13:54 (GMT) |
Audaspace: added audio file streams functionality. On the blender side this commit fixes importing video files with audio and video streams that do not share the same start time and duration. Differential Revision: https://developer.blender.org/D12353 |
September 22, 2021, 13:54 (GMT) |
GPencil: Curvature support for length modifier. |
September 22, 2021, 13:54 (GMT) |
Revert "GPencil: Curvature support for length modifier." Reason for revert: accidental push of a intermediate change locally. This reverts commit 25e548c96b3d8c1698fd4385b4dc395665b5a7f6. |
|