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-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
2021-10-03Cleanup: clang-formatCampbell Barton
2021-10-03Cleanup: spelling in stringsCampbell Barton
2021-10-03Cleanup: spelling in commentsCampbell Barton
2021-10-03Geometry Nodes: Add Rotate Euler NodeJarrett Johnson
This commit introduces the Rotate Euler function node which modifies an input euler rotation. The node replaces the "Point Rotate" node. Addresses T91375. Differential Revision: https://developer.blender.org/D12531
2021-10-03Geometry Nodes: Switch Node Fields Updateguitargeek
This update of the Switch node allows for field compatible types to be switched through the node. This includes the following: Float, Int, Bool, String, Vector, and Color The remaining types are processed with the orginal code: Geometry, Object, Collection, Texture, and Material Because the old types require a diffent "switch" socket than the field types, versioning for old files is included to move links of those types to a new switch socket. Once fields of other types are supported, this node can be updated to support them as well. Differential Revision: https://developer.blender.org/D12642
2021-10-03Geometry Nodes: Add side and fill segments to Cone/Cylinder nodesLeon Leno
This commit extends the 'Cone' and 'Cylinder' mesh primitive nodes, with two inputs to control the segments along the side and in the fill. This makes the nodes more flexible and brings them more in line with the improved cube node. Differential Revision: https://developer.blender.org/D12463
2021-10-01Geometry Nodes: Set Handle Type Node Field Updateguitargeek
This update of the Set Handle Type node allows for a bool field to be used as the selection of the affected control point handles for bezier splines. If no bezier splines are provided a info message is shown. Differential Revision: https://developer.blender.org/D12526
2021-10-01Geometry Nodes: Set Spline Type Node Field Updateguitargeek
This update of the Set Spline Type node allows for a bool field to be used as the selection of the affected splines. Differential Revision: https://developer.blender.org/D12522
2021-10-01VSE: Draw active strips with a different color in the preview windowSebastian Parborg
2021-10-01Geometry Nodes: Spline Length Input Nodeguitargeek
The Spline Length Input node provides a field containing the length of the current evaluated spline to the Point and Spline domains. Differential Revision: https://developer.blender.org/D12706
2021-10-01Asset Browser: expose current catalog ID in RNASybren A. Stüvel
Add read-only access to the active catalog ID via `context.space_data.params.catalog_id` in the Asset Browser context. The UUID is exposed as string to Python.
2021-10-01Geometry Nodes: Curve Subdivide Node with Fieldsguitargeek
The curve subdivide node can now take an int field to specify the number of subdivisions to make at each curve segment. Reviewed by: Hans Goudey Differential Revision: https://developer.blender.org/D12534
2021-10-01Cleanup: unused function declarationKévin Dietrich
This should have been removed during the recent velocity attribute refactor.
2021-10-01Tracking: Sort motion tracking tracks by start and end framesJohan Walles
Enable sorting motion tracking tracks by start / end times. Help identifying what cases reconstructed camera jumps, based on information about whether any track starts/ends at the frame. Based on revision eb0eb54d9644c5139ef139fee1e14da35c4fab7e. {F10563305} Reviewed By: sergey Differential Revision: https://developer.blender.org/D12621
2021-10-01Asset Catalogs: always have an Asset Catalog Tree availableSybren A. Stüvel
Always create an `AssetCatalogTree` in the `AssetCatalogService`. This ensures that newly-created catalogs are immediately visible in the UI (because they insert themselves into an already-existing tree).
2021-10-01Cleanup: Asset Catalog Test, fix clang-tidy warningsSybren A. Stüvel
No functional changes.
2021-10-01Asset Catalogs: add catalog filter for the asset browserSybren A. Stüvel
Given an "active catalog" (i.e. the one selected in the UI), construct an `AssetCatalogFilter` instance. This filter can determine whether an asset should be shown or not. It returns `true` when The asset's catalog ID is: - the active catalog, - an alias of the active catalog (so different UUID that maps to the same path), - a sub-catalog of the active catalog. Not yet hooked up to the UI.
2021-10-01Cleanup: asset catalogs, make function constSybren A. Stüvel
Declare `AssetCatalogService::find_catalog()` as `const`, as it's not requiring modification off the service object. No functional changes.
2021-10-01Fix T91834: Appending objects with shape keys into new file is broken.Bastien Montagne
Recent append refactor 'broke' this, we need special recursive care and handling of those nasty shpae keys... again.
2021-10-01GPU: set 'GL_PACK_ALIGNMENT' 1 as defaultGermano Cavalcante
This fixes T91828. The current value of `GL_PACK_ALIGNMENT` may result in crash in the `gpu` module if the buffer is not aligned. Differential Revision: https://developer.blender.org/D12720
2021-10-01Fix T91872: incorrect socket inspection on group nodesJacques Lucke
This bug was introduced in rBef45399f3be0955ba8.
2021-10-01Fix T87189: Copy/pasting IDs does not handle properly instantiation.Bastien Montagne
Copy/Paste uses its own code path for ID linking, which was not setting `LIB_TAG_DOIT` for proper instantiation later on. Would be nice the make this logic closer to the rest of the link/append code at some point, but for now this fix will do.
2021-10-01Fix paste code linking 'direct' IDs with 'INDIRECT' flag.Bastien Montagne
No idea why this was done that way (it originate from initial paste commit, rB12b642062c6f). But the IDs 'selected' as direct paste in `BLO_library_link_copypaste` should be 'directly' linked, it's similar case to actual append of selected IDs by the user. Related to T87189.
2021-10-01Append: Fix appended objects potentially auto-instantiated in more than one ↵Bastien Montagne
collection. Related to T87189.
2021-10-01Fix T87536: incorrect socket types in reroute nodesJacques Lucke
This refactors and fixes the code that propagates socket types through reroute nodes. In my tests it is faster than the previous code. The difference becomes larger the more reroute nodes there are, because the old code had O(n^2) runtime, while the new code runs in linear time. Differential Revision: https://developer.blender.org/D12716
2021-10-01Fix T91839: incorrect active vertex group indexJacques Lucke
Differential Revision: https://developer.blender.org/D12712
2021-10-01Cleanup: Asset Catalog Paths, move default constructor to header fileSybren A. Stüvel
No functional changes.
2021-10-01Asset Catalogs: test that missing catalogs are created onceSybren A. Stüvel
Add asset catalogs test, to ensure missing catalogs are only created once, and not for every originally defined catalog. No functional changes to Blender (the code was already doing the right thing).
2021-10-01Cleanup: clang-tidy warningsCampbell Barton
2021-10-01Gizmo: hide 2D gizmos while transformingCampbell Barton
Hide gizmos in the sequencer & UV editor while transforming.
2021-10-01Cleanup: use C-style comments, nullptr for C++Campbell Barton
Minor changes extracted from D6408
2021-10-01Fix: Incorrect warning in curve to mesh node with instancesVitor Boschi
The node was setting a warning when used with instances on input, even though it worked fine. Differential Revision: https://developer.blender.org/D12718
2021-10-01Compositor: Fix Composite node using alpha when "Use Alpha" is offManuel Castilla
Alpha input was not receiving the final composite canvas as preferred causing a Translate operation being inserted for centering. This resulted in a transparent background. The issue only affects Full Frame mode.
2021-10-01Compositor: Fix Flip node not flipping translation on Full FrameManuel Castilla
To match tiled implementation, flip center should not be translated when canvas has offset. Instead the canvas offset needs to be flipped.
2021-10-01Compositor: Fix Dilate/Erode node crash with Step optionManuel Castilla
It was writing the buffer out of bounds. Only "Full Frame" mode was affected.