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-10-11Correct numpy hashtemp-python-zstandardSybren A. Stüvel
2021-10-11Fix typoSybren A. Stüvel
2021-10-11Remove numpy patch, as it no longer applies; the option it tries to disable ↵Sybren A. Stüvel
seems to have been removed from numpy.
2021-10-11Bump requests, certifi, urllib, idna, cython, and numpy packages. Replace ↵Sybren A. Stüvel
chardet with charset-normalizer (dependency change of requests)
2021-10-11Bump Python to 3.9.7 and add zstandard packageSybren A. Stüvel
These changes will be committed in two separate consecutive commits. It's easier to review & build as a whole, hence the single diff. ---------------------- *Bump Python 3.9.2 → 3.9.7* If we're going to add a Python package to Blender, this usually means rebuilding all of Python, so we might just as well bump it to the latest 3.9 release. ---------------------- *Bundle the `zstandard` Python package* This package allows Python scripts to handle compressed blend files. This is for example needed by #blender_asset_tracer to send files to a Flamenco render farm. This change includes a new `WITH_PYTHON_INSTALL_ZSTANDARD` build-time option, to control whether to actually install the package. For this the already-existing approach for Requests was copied. I'm not too happy with the way Python packages and their dependents (Audaspace & Mantaflow) are handled, but that's for a different cleanup commit. Differential Revision: https://developer.blender.org/D12777
2021-10-11Deps: bump Python 3.9.2 → 3.9.7Sybren A. Stüvel
2021-10-08Cleanup: asset catalogs, alphabetically order forward declarationsSybren A. Stüvel
No functional changes.
2021-10-08install_deps: Fix OIIO depending on (system...) openVDB.Bastien Montagne
2021-10-08UI: Support tooltips for superimposed iconsJulian Eisel
In a couple of places in the UI, we show superimposed icons on buttons to execute an operation (called "Extra Icons" internally). Hovering them would show the tooltip of the underlying button, which is misleading and confusing. There are cases where it's not obvious what an icon does, so a tooltip would be quite useful here. It's likely we are going to use superimposed icons in more places in the future, e.g. see D11890. The extra icon basically acts as an override for the button in the tooltip code. Differential Revision: https://developer.blender.org/D11894 Reviewed by: Campbell Barton
2021-10-08Py doc: document msgbus subscriptions clearing on blendfile loadSybren A. Stüvel
Document that `bpy.msgbus.subscribe_rna()`-registered messagebus subscriptions will be cleared whenever a new blend file is loaded. Passing `options={'PERSISTENT'}` has no influence on this behaviour.
2021-10-08UI/Assets: Disable undo for tree item buttonsJulian Eisel
Disables undo for: * The tree row collapsing - which doesn't make sense to undo, isn't supported by the undo system, and just triggers the confirmation prompt when closing the file. * Renaming items - While this may make sense in some cases, users of the tree-view API can explicitly do an undo push. For asset catalogs it's not supported.
2021-10-08Cleanup: asset catalogs, move functions to their siblingsSybren A. Stüvel
Moved function definitions around so that all members of a class are next to each other. Previously some functions of one class were sitting between functions of another class. No functional changes.
2021-10-08VSE: Implement the bounding box (xform) tool in the seq preview windowSebastian Parborg
Make the "xform" tool/gizmo available for strip transformations in the sequencer preview window. Because of the amount of hacks needed to make the gizmo work nicely with multiple strips at the same time, it was decided to only show the translate gizmo when multiple strips are selected. This is because the transforms with multiple strips would appear buggy because of our lack of shearing support in the transform system. There is also currently no way to properly sync the gizmo drawing with the transform when using multiple strips. Reviewed By: Richard Antalik, Campbell Barton Differential Revision: http://developer.blender.org/D12729
2021-10-08Asset Catalogs: Fix unit test on WindowsSybren A. Stüvel
Force native slashes before comparing paths; on Windows mixing separators caused a unit test to fail. No functional changes.
2021-10-08Cleanup: Explicit specifier for single argument constructorSergey Sharybin
2021-10-08Cleanup: Else after return in CyclesSergey Sharybin
2021-10-08Fix T91190: Remove gaps operator not workingRichard Antalik
Caused by mistake in f49d438ced7c - `SEQ_query_all_strips()` is not meant to be recursive.
2021-10-08Sequencer: hide gizmos & cursor during scrubbing & playbackCampbell Barton
This was distracting prevented easily viewing an animation.
2021-10-08Fix crash switching scenes with sequencer gizmos displayedCampbell Barton
2021-10-08Sequencer: add option to toggle gizmosCampbell Barton
Use shortcut matching the 3D view & popover in the header
2021-10-08Cleanup: spellingCampbell Barton
2021-10-08Sequencer: only show the 2D cursor with overlays enabledCampbell Barton
Also hide when displaying scopes.
2021-10-08Cleanup: remove deprecated SEQ_DRAW_SEQUENCE valueCampbell Barton
While drawing cleared this value (as part of temporary fix from 2009), this was still being checked until recently. Remove this value in versioning code. Also clear unused text space flag.
2021-10-08Fix sequencer preview/strip checksCampbell Barton
- Drawing annotations used a deprecated value to detect if drawing was supported. - ED_space_sequencer_check_show_strip was checking the preview image type (which doesn't impact strip display). Signed-off-by: Campbell Barton <ideasman42@gmail.com>
2021-10-08Cleanup: remove redundant cursor copy, printCampbell Barton
2021-10-07Fix Cycles random walk SSS differences between CPU and GPUBrecht Van Lommel
The Embree logic did not match the GPU.
2021-10-07Cleanup: remove unnecessary data from LocalIntersectionBrecht Van Lommel
2021-10-07Cleanup: Rename enum valuesHans Goudey
This makes the diff for adding a new version of the attribute transfer node slightly smaller.
2021-10-07Fix: Missing field markers for curve fillet node inputsHans Goudey
2021-10-07Nodes: Move texture nodes to C++Charlie Jolly
Move texture nodes to C++ and use new socket declaration Brick, Checker, Image, Magic and Wave Differential Revision: https://developer.blender.org/D12778
2021-10-07Fix screenshot editor showing status text in the editorCampbell Barton
This caused problems calling screenshot from menu-search which included the status text in the screenshot. Now the status text is shown in the global status bar for any operators called from a screen context.
2021-10-07Sequencer: 2D cursor for the preview & transformCampbell Barton
- Use 2D cursor in the preview space using shortcuts matching the UV editor and 3D view. - Add Cursor tool, cursor transform. - Support for cursor and bound-box pivot. - Add pivot pie menu.
2021-10-07User Interface: Remove the green background when inside a node groupDalai Felinto
The current background color and parent nodetrees is too distracting and noisy. It drastically affect the readability of the nested node-trees. Other techniques (better bread crumbs) can be used instead to indicate to users that they are inside a node group. --- The background drawing was introduced in 4638e5f99a9ba as part of the Python Nodes branch merge. This made its debut in Blender 2.67 (30/May/2021). At the time the color used for the background was a light gray. Over the years the color changed to the current dark green, aggravating the problem further. Before that, the (expanded) nodegroup already had the partially transparent background, mingling with the other nodes. The Python Nodes branch brought this concept with its changes, and would always draw up to two levels up in the background (the parent nodetree, and its parent nodetree). To read the original inspiration for all the changes introduced then: https://code.blender.org/2012/01/improving-node-group-interface-editing/ Differential Revision: https://developer.blender.org/D12780
2021-10-07Asset Catalogs: change rules for saving catalog definition filesSybren A. Stüvel
Change the rules for determining where to save a new catalog definition file (CDF). Old situation (T91681): if a `blender_assets.cats.txt` file already exists in the same directory as the blend file, write to that. If not, see if the blend file is contained in an asset library, and write to its top-level CDF. The new situation swaps the rules: first see if the blend file is contained in an asset library, and if so write to its top-level CDF. If not, write a CDF next to the blend file. As before, any pre-existing CDF is not just bluntly overwritten, but merged with the in-memory catalogs.
2021-10-07Cleanup: asset catalog tests, move teardown functionSybren A. Stüvel
Move `AssetCatalogTest::TearDown` close to the corresponding `SetUp` function, so that it's easier to find. No functional changes.
2021-10-07Fix sequencer preview poll functionCampbell Barton
sequencer_view_preview_poll returned true even when in the "Sequence" view. Now check the preview is visible, also check the region is expected type so preview actions aren't possible for mixed sequence/preview display.
2021-10-07Asset Browser: Move Asset Library selector to navigation barJulian Eisel
The menu to select the active Asset Library is now in the left bar (so called "Source List", although I'd prefer "Navigation-Bar"). This has some benefits: * All Asset Library navigation is in the left sidebar now, giving nice grouping and a top-to-bottom & left-to-right flow of the layout. The header is focused on view set-up now. * Catalogs are stored inside the asset library. Makes sense to have them right under that. * Less content in the header allows for less wide Asset Browsers without extensive scrolling. * This location gives more space to add options or operators for Asset Libraries. Main downside I see is that the side-bar needs to be opened to change libraries, which takes quite some space. In practice there shouldn't be need to do this often though.
2021-10-07Cleanup: clang-tidyCampbell Barton
2021-10-07Fix wrong tile size calculated in CyclesSergey Sharybin
Was causing extra overscan pixels, and was confusing multiple workers check after fix T91994.
2021-10-07Cleanup: make formatDalai Felinto
2021-10-07Fix Cycles long start on scene without volumesSergey Sharybin
The state template iteration had difficult time dealing with 0-sized arrays, causing iteration for until integer overflows.
2021-10-07Asset Browser: Rework layout & behavior of catalog tree-viewJulian Eisel
This reworks how tree rows are constructed in the layout and how they behave in return. * To open or collapse a row, the triangle/chevron icon has to be clicked now. The previous behavior of allowing to do it on the entire row, but only if the item was active already, was just too unusual and felt weird. * Reduce margin between chevron icon and the row label. * Indent child items without chevron some more, otherwise they feel like a row on the same level as their parent, just without chevron. * Fix renaming button taking entire row width. Respect indentation now. * Fix double-clicking to rename toggling collapsed state on each click. Some hacks/special-handling was needed so tree-rows always highlight while the mouse is hovering them, even if the mouse is actually hovering another button inside the row.
2021-10-07Fix proxy to override code being called on undos.Bastien Montagne
2021-10-07Fix T91994: Cycles crash when rendering on multiple devicesSergey Sharybin
The overscan change from D12599 lacked proper handling of window when slicing buffer for multiple devices.
2021-10-07Revert commit, turns out this isn't a bug?Joseph Eagar
2021-10-07UI: Fix alignment of buttons in Grease Pencil tool settingsPablo Vazquez
Small fix reviewed on blender.chat by the Grease Pencil team.
2021-10-07Fix mask expand not properly supportingJoseph Eagar
both inverse and keep mask modes being on at the same time.
2021-10-07Fix T91670: Strip text position is incorrectRichard Antalik
Use `sseq->timeline_overlay.flag` instead of `sseq->flag`. Caused oversight in 7cb65e45814d.
2021-10-07Cleanup: Move VSE disk cache code into own fileRichard Antalik
No functional changes.
2021-10-07Cleanup: VSE iterator semanticsRichard Antalik
Use `BLI_gset_ensure_p_ex()` instead of `BLI_gset_insert()` after checking `BLI_gset_lookup()`.