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-09-21LibOverride: make `view_layer` API parameter optional.Bastien Montagne
This is used to find a valid collection in which to instantiate stray objects and collections. In some cases there will be no such active view layer, in which case we can consider using the Scene's master collections children hierarchy instead to find a valid instantiated parent collection for those stray data.
2021-09-21Keymap: preference for keys to set the active toolCampbell Barton
With "Keys Activate Tools" preference enabled, keys such as G/R/S activate the move/rotate/scale tool instead of the modal operator. Addresses T83692.
2021-09-21Keymap: preference for Alt-LMB to use the active toolCampbell Barton
With the LMB select key-map some tools required clicking on a gizmo. With this preference it's possible to hold Alt and click anywhere. Addresses T83689.
2021-09-21Keymap: preference for fallback-tool with RMB selectCampbell Barton
Expose a key-map preference "Fallback Tool (RMB)", disabled by default. The right mouse button uses the fallback tool (currently visible selection tool in the toolbar), instead of always tweaking. When any selection tool is active, right mouse always tweaks. To enable fallback selection on RMB, set the "Right Mouse Select Action" to "Selection Tool". Internal changes: - Add fall-back key-maps, separate key-maps needed for when the tool is run as a fall-back. This is needed so RMB-select can support fall-back tools, so left-mouse can be used when it's the active tool and RMB can be used as a fall-back action when another tool is active. - Add options field to tools so tools without gizmos can enable the full-back tool keymap. - Support multiple key-maps for keymap handlers. - Fall-back keymaps now co-exist with the tool-keymaps. So both keymaps may be active at once - using different mouse buttons. When gizmos are in use, a highlighted gizmo prioritizes the tool-keymap over the fall-back keymap. Resolves T83690. Reviewed By: JulienKaspar Ref D12493
2021-09-21WM: only return PASS_THROUGH on PRESS for selection operatorsCampbell Barton
Some selection operators return (PASS_THROUGH & FINISHED) so the tweak event isn't suppressed from the PRESS event having been handled. This is now restricted to events with a PRESS action. Without this, using CLICK for selection was passing the event through which could run other actions unintentionally.
2021-09-21Cleanup: Remove debugging change, add commentsHans Goudey
2021-09-21Geometry Nodes: Curve Sample NodeHans Goudey
This node allows sampling positions, tangents, and normals at any arbitrary point along a curve. The curve can include multiple splines, all are taken into account. The node does not yet support transferring generic attributes like radius, because some more general tooling will make that much more feasible and useful in different scenarios. This is a field node, so it is evaluated in the context of a data-flow node like "Set Position". One nice thing about that is it can easily be used to move an entire geometry like the follow path constraint. The point along the curve is chosen either with a factor of the total length of the curve, or a length into the curve, the same choice used in the curve trim node. Differential Revision: https://developer.blender.org/D12565
2021-09-21Functions: Fix incorrect assert for unused outputHans Goudey
Since the variable for an output parameter can be null, it is incorrect to use it later on in a reference.
2021-09-21Fix: Crash with single point bezier spline auto handlesHans Goudey
There's no way to calculate auto or vector handles when there is only one point, and returning early allows avoiding checking for that case later on.
2021-09-21Fix: Knife keymap failed unit testCian Jinks
2021-09-21Knife: Replaced object bases array with object arrayCian Jinks
The Base structs were only ever used to retrieve the Object struct and so could be replaced.
2021-09-21Geometry Nodes: Attribute Statistic NodeVictor-Louis De Gusseme
This nodes evaluates a field on a geometry and outputs various statistics about the entire data set, like min, max, or even the standard deviation. It works for float and vector types currently, though more types could be supported in the future. - All statistics are calculated element-wise for vectors. - "Product" was not added since the result could very easily overflow. - The "Size" output was not added since it isn't specific to an attribute and would fit better in another node. The implementation shares work as much as possible when multiple statistics are needed. This node has been in development since the beginning of this year, with additions from Johnny Matthews and Hans Goudey. Differential Revision: https://developer.blender.org/D10202
2021-09-21Merge branch 'master' into soc-2021-knife-toolsCian Jinks
2021-09-21Fix: Warning caused by setting enum value to boolCian Jinks
2021-09-20Knife: Better multi-object edit modeCian Jinks
The knife tool can now make cuts in multi-object edit mode which cross over multiple objects and go from the geometry of one object to multiple others. Previously, object switching functionality was implemented but this proved insufficient to achieve the functionality contained within this patch. Instead, the dependence on a singular Object and BMEditMesh stored in the KnifeTool_OpData struct needed to be entirely removed. This has resulted in a lot of passing around of Object pointers which could potentially be simplified using a map of some kind in the future. For now it works well.
2021-09-20Asset Browser: Redraw sidebars on mode switchesJulian Eisel
There may be mode specific panels for some assets in the navigation or the asset metadata sidebar. For example the pose library will likely do this. So let the regions redraw on mode changes.
2021-09-20Update RNA to user manual url mappingsAaron Carlisle
2021-09-20Tests: measure time per frame in animation performance benchmarkBrecht Van Lommel
Instead of a fixed number of frames, so that benchmarking takes about the same time on any machine.
2021-09-20Geometry Nodes: use implicit position input in noise nodeJacques Lucke
This is the same behavior as in shader nodes.
2021-09-20Geometry Nodes: implicit position input in Set Position nodeJacques Lucke
This change makes the Set Position node do nothing by default. Before, the geometry would always disappear, because it all points would be moved to (0, 0, 0). Differential Revision: https://developer.blender.org/D12553
2021-09-20UI: Change "Favorites" to "Bookmarks"Harley Acheson
Change of File Browser "Favorites" section header in source list (T panel) to "Bookmarks" to maintain consistency with all the other bookmark-related text and operations. See D10262 for more information and alternatives considered. Differential Revision: https://developer.blender.org/D10262 Reviewed by Julian Eisel
2021-09-20Cleanup: Refactor VSE overlay settingsRichard Antalik
Move overlay flags into SequencerPreviewOverlay and SequencerTimelineOverlay structs. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D12569
2021-09-20GPencil: Fix error in previous commitAntonio Vazquez
By error I commited the previous version.
2021-09-20GPencil: Change Rotation tooltipAntonio Vazquez
The tooltip was not clear about in what shading modes works. Related to T91467
2021-09-20Cleanup: spelling (correct c5c8c68eec93e57ed46be4371d8831e2f0fe3fe2)Campbell Barton
"iff" was intended as "if and only if". while exact use of abbreviations isn't clear cut, I assumed this was a typo & it's not used anywhere else in source/, expand to "only if" (suggested by Sybren).
2021-09-20Build: change make update to not print errors regarding submodule branchesBrecht Van Lommel
Instead of trying to checkout non-existent branches and getting confusing fatal error prints, check if the branch exists first. Ref D12560
2021-09-20Geometry Nodes: support Noise Texture nodeJacques Lucke
This makes the Noise Texture node available in geometry nodes. It should behave the same as in shader node, with the exception that it does not have an implicit position input yet. That will be added separately. Differential Revision: https://developer.blender.org/D12467
2021-09-20Geometry Nodes: support Set Position node on instancesJacques Lucke
Previously, the node would always realize instances implicitly. Now it can change the position of entire instances. The Realize Instances node can be used before if the old behavior is required. Differential Revision: https://developer.blender.org/D12555
2021-09-20make_update: Fix case where a sub-module would not have required branch.Bastien Montagne
Issue revealed by rB546314fc9669 change, also error itself exited before that commit. Now we do accept git command to fail when trying to checkout the specified branch from sub-modules, and only actually error in case the fall-back branch (aka master) cannot be properly checked out. Thanks fot Ray molenkamp (@LazyDodo) for report and initial patch (D12560).
2021-09-20Geometry Nodes: new Realize Instances nodeJacques Lucke
This node has a simple geometry input and output. If the input geometry contains instances, they will be realized into actual geometry. When there are many instances, this can be very slow and memory intensive. Generally, instances should only be made real when necessary, e.g. when every instance should be deformed independently. Differential Revision: https://developer.blender.org/D12556
2021-09-20UUID: add nil value for UUIDsSybren A. Stüvel
Add `BLI_uuid_nil()` that returns the nil UUID (used to indicate "not set") and `BLI_uuid_is_nil(uuid)` to do an equality test with the nil value.
2021-09-20UUID: fix seeding the RNG clock on macOSSybren A. Stüvel
On Apple machines, call `clock_gettime()` instead of `timespec_get()`. macOS only introduced `timespec_get()` in version 10.15 (introduced approx two years ago, so in 2019), even though the function is from C11.
2021-09-20Cleanup: UUID, prevent "missing braces" warning on macOSSybren A. Stüvel
Add braces around initialization of sub-objects, as per the warning suggestion on macOS. No functional changes.
2021-09-20UUID: include 'seconds' field of current time in RNG seedSybren A. Stüvel
XOR the 'seconds' and 'nanoseconds' fields of the current time to seed the RNG used for generating random UUIDs. This ensures a better seed just in case the clock as no sub-second resolution.
2021-09-20Fix T91511: GPencil weight_get and Vertex Groups not working at expectedAntonio Vazquez
The API was checking the number of total weights with the first point of the stroke and this was not valid because each point can have different number of weight elemnts,
2021-09-20UI: rename "Save Screenshot (Area => Editor)"Campbell Barton
The term "area" isn't normally exposed in the UI.
2021-09-20Cleanup: spellingCampbell Barton
2021-09-20Fix: Incorrect default values for the curve trim nodeHans Goudey
The default end factor should be 1. The proper value for the default end length is somewhat arbitrary, but it shouldn't be zero.
2021-09-20Fix: Spline length calculation fails with no evaluated pointsHans Goudey
The case that checked whether there were evaluated edges was incorrect, since two points are needed for an edge. Then also avoid running the accumulation for an empty span.
2021-09-20Fix build error after previous commitHans Goudey
Incorrect renaming and use of enum after search and replace.
2021-09-20Cleanup: Fix/improve variable names and commentsHans Goudey
2021-09-19Compositor: Add OIDN prefiltering option to Denoise nodeManuel Castilla
It's equivalent to the OpenImageDenoise prefiltering option in Cycles. See D12043. Prefilter modes: - None: No prefiltering, use when guiding passes are noise-free. - Fast: Denoise image and guiding passes together. Improves quality when guiding passes are noisy using least amount of extra processing time. - Accurate: Prefilter noisy guiding passes before denoising image. Improves quality when guiding passes are noisy using extra processing time. Reviewed By: #compositing, jbakker, sergey Differential Revision: https://developer.blender.org/D12342
2021-09-19Compositor: Fix crash exporting buffers on debugManuel Castilla
ImBuf allocates 4 channels, use copying to support buffers with 1 and 3 channels.
2021-09-19Compositor: Fix Alpha Over node ignoring emissive colorsManuel Castilla
It was an issue on Full Frame mode only.
2021-09-19Cleanup: Rename curve node enumsHans Goudey
The enum called "interpolate" was really a choice of methods for mapping inputs to positions on the curve, whereas the "sample" enum was used to define a way to create a whole set of new points from the curve, without any input parameters. The "re-sample" vs. "sample" naming makes that distinction better.
2021-09-19Revert "GPencil: Curvature support for length modifier."YimingWu
Reason for revert: accidental push of a intermediate change locally. This reverts commit 25e548c96b3d8c1698fd4385b4dc395665b5a7f6.
2021-09-19GPencil: Curvature support for length modifier.YimingWu
2021-09-18Audaspace: added audio file streams functionality.Jörg Müller
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
2021-09-18Py API Docs: Fix audio docs exampleJorge Bernal
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.
2021-09-18Cleanup: add missing includesJacques Lucke