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
path: root/source
AgeCommit message (Collapse)Author
2021-10-04Merge branch 'master' into temp-ui-tweakstemp-ui-tweaksPablo Vazquez
2021-10-04Assets: Support dragging assets on "Unassigned" catalogJulian Eisel
Dragging assets onto the "Unassigned" catalog tree item will effectively move the assets out of any catalog. Technically this means unsetting the Catalog-ID stored in the asset metadata, or more precisely setting the UUID to be all zeros.
2021-10-04Cleanup: Use static function for asset catalog tree-view helperJulian Eisel
2021-10-04Cleanup: Separate interface & implementation for asset catalog tree-viewJulian Eisel
Should make the code a bit more organized and help getting an overview of the interfaces more quickly.
2021-10-04Fix T91823: Regression not showing idblocks when recursion is set to `Blend ↵Julian Eisel
file` Introduced by fc7beac8d6f4. During code review it wasn't clear why this branch was needed, so we removed it. Now it is clear why it is needed so we added it back and added a comment why the branch is needed. Patch provided by @Severin.
2021-10-04Fix T89759: baking normals does not take into account mirror modifierBrecht Van Lommel
2021-10-04Fix T91911: error in image dithering code after recent changesBrecht Van Lommel
Thanks to Patrik Olsson for spotting this.
2021-10-04Merge branch 'master' into temp-ui-tweaksPablo Vazquez
# Conflicts: # source/blender/editors/animation/time_scrub_ui.c
2021-10-04Merge branch 'master' into temp-ui-tweaksPablo Vazquez
# Conflicts: # source/blender/editors/animation/time_scrub_ui.c
2021-10-04Cleanup: Reverting submodules hashDalai Felinto
This partially reverts commit e62ce9e08e919f25aad444f378947f6be932730f.
2021-10-04Fix camera border bug in passepartout render viewSimon Lenz
{F10761402} With active viewport render from camera view, the camera border shows up, even when passepartout and overlays are disabled. By moving the line-drawing code to the passepartout section, it is effectively disabled when passepartout is off. Reviewed By: sebastian_k Differential Revision: https://developer.blender.org/D12745
2021-10-04Fix session uuid ghash comparison return valueSebastian Parborg
Because of legacy reasons (C string compare function returning 0 when strings are equal), the ghash compare function is expected to return false when hashes are equal.
2021-10-04Cleanup: `Neighbour` -> `Neighbor`. and other minor UI messages fixes.Bastien Montagne
Blender English should use 'American' variants, not 'British' variants.
2021-10-04Cleanup: tag unused parameters as such.Bastien Montagne
2021-10-04Fix T91873: Crash when opening properties panelFalk David
This patch fixes a crash that was recently introduced by rB5cebcb415e76. The reason were missing poll functions in the UI and operator. Reviewed By: ISS Maniphest Tasks: T91873 Differential Revision: https://developer.blender.org/D12736
2021-10-04Cleanup: remove unused assignmentsCampbell Barton
2021-10-04Cleanup: pass arguments as constCampbell Barton
2021-10-04Cleanup: remove redundant assignmentCampbell Barton
2021-10-04Cleanup: use system includesCampbell Barton
2021-10-04Fix possible NULL pointer deferenceCampbell Barton
The pointer was referenced before being checked.
2021-10-04Fix T91904: Assert when loading empty CurveProfileHans Goudey
Somehow, the file from T71329 has an empty curve profile. While that may be a problem in itself, it's reasonable to avoid asserts or crashes when loading or drawing such a CurveProfile. This commit just makes sure the table always has a single vertex, and adds some checks in drawing code.
2021-10-04Cleanup: Make more functions staticHans Goudey
This simplifies the surface of the API for a CurveProfile.
2021-10-04Cleanup: Replace macro with functionHans Goudey
2021-10-04Cleanup: Make function staticHans Goudey
2021-10-04Cleanup: Add doxygen sections, rearrange functionsHans Goudey
2021-10-04Cleanup: rename eRegionType -> eRegion_TypeCampbell Barton
Match eSpace_Type.
2021-10-04Keymap: print more verbose output for --debug-handlersCampbell Barton
Include the short-cut text and the operator properties to make it easier to track down the key-map item source that matched the event.
2021-10-04Asset Browser: Support dragging assets into catalogsJulian Eisel
With this it is possible to select any number of assets in the Asset Browser and drag them into catalogs. The assets will be moved to that catalog then. However, this will only work in the "Current File" asset library, since that is the only library that allows changing assets, which is what's done here. While dragging assets over the tree row, a tooltip is shown explaining what's going to happen. In preparation to this, the new UI tree-view API was already extended with custom drop support, see 4ee2d9df428d. ---- Changes here to the `wmDrag` code were needed to support dragging multiple assets. Some of it is considered temporary because a) a proper #AssetHandle design should replace some ugly parts of this patch and b) the multi-item support in `wmDrag` isn't that great yet. The entire API will have to be written anyway (see D4071). Maniphest Tasks: T91573 Differential Revision: https://developer.blender.org/D12713 Reviewed by: Sybren Stüvel
2021-10-04Cleanup: Rename file-list function to better match what it's doingJulian Eisel
2021-10-03Geometry Nodes: Handle Type Selection Node UpdateJohnny Matthews (guitargeek)
This node creates a boolean field selection of bezier spline points that have a handle of the given type on the selected 'side' of the contol point. This is evaluated on the point domain. Differential Revision: https://developer.blender.org/D12559
2021-10-03Cleanup: Move curveprofile.c to C++Hans Goudey
2021-10-03Geometry Nodes: Points to Volume Fields fixesJohnny Matthews (guitargeek)
A few items when OpenVDB is not enabled. - Cleanup a compiler warning - Add a node warning message - Return an empty geometry set
2021-10-03Fix T91810 Bevel not working well with certain unbeveled edge positions.Howard Trickey
A previous commit, c56526d8b68ab, which sometimes didn't drop offsets into 'in plane' faces, as a fix to T71329, was overly aggressive. If all the intermediate edges are in the same plane then it is fine to just put the meeting point on the plane of the start and end edges.
2021-10-03Cleanup: move as_span method out of headerJacques Lucke
This method does not have to be in a header and results in a relatively large number of symbols to be generated (42).
2021-10-03Cleanup: move special methods of geometry set out of headerJacques Lucke
This reduces the compile time, because fewer symbols have to be generated in translation units using geometry sets.
2021-10-03Cleanup: move methods out of field classesJacques Lucke
This makes it easier to scan through the classes and simplifies testing the compile time impact of having these methods in the header.
2021-10-03Cleanup: use extern templates for typed output attributeJacques Lucke
This is very similar to rBa812fe8ceb75fd2b. This time the number of symbols decreases further from 1335 to 928. Compile time of the distribute node decreases from ~2.4s to ~2.3s.
2021-10-03Nodes: use extern templates for socket declarationsJacques Lucke
The new socket declaration api generates a surprising amount of symbols in each translation unit where it is used. This resulted in a measurable compile time increase. This commit reduces the number of symbols that are generated in each translation unit significantly. For example, in `node_geo_distribute_points_on_faces.cc` the number of symbols decreased from 1930 to 1335. In my tests, this results in a 5-20% compile time speedup when this and similar files are compiled in isolation (measured by executing the command in `compile_commands.json`). Compiling the distribute points on faces node sped up from ~2.65s to ~2.4s.
2021-10-03Cleanup: move more method definitions out of their classJacques Lucke
This makes it easier to test the impact of moving them out of the header later.
2021-10-03Cleanup: move more methods out of classesJacques Lucke
2021-10-03Geometry Nodes: Points to Volume Fields UpdateJohnny Matthews (guitargeek)
This update of the Points to Volume node allows a field to populate the radius input of the node and removes the implicit realization of instances. Differential Revision: https://developer.blender.org/D12531
2021-10-03Cleanup: use movable output attribute instead of optionalJacques Lucke
This simplifies the code a bit and improves compile times a bit.
2021-10-03Cleanup: make typed output attribute movableJacques Lucke
This comes at a small performance cost due to an additional memory allocation, but that is not significant currently.
2021-10-03Cleanup: move AttributeIDRef and OutputAttribute methods out of classJacques Lucke
This makes the classes easier to read and simplifies testing the compile time impact of defining these methods in the header.
2021-10-03Cleanup: move resource scope method definitions out of classJacques Lucke
2021-10-03Cleanup: move StringRef method definitions out of classJacques Lucke
This makes the classes more appealing to look at and makes it easier to see what different methods are available.
2021-10-03Cleanup: add nolint comment to move semantic testJacques Lucke
2021-10-03Cleanup: remove unused functionsJacques Lucke
2021-10-03Geometry Nodes: Resample Curve Fields UpdateJohnny Matthews (guitargeek)
This update of the Resample Curve node allows a field to populate the count or length input of the node depending on the current mode. The field is evaluated on the spline domain. Differential Revision: https://developer.blender.org/D12735
2021-10-03Data Transfer: Remove unnecessary noisy error messageHans Goudey
I've seen requests to remove this or complaints about this error message quite frequently. In lots of production files it's just always going off. It's not an actionable warning, and since "slow" is relative, it isn't always even correct. Differential Revision: https://developer.blender.org/D12694