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-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.
2021-10-01Compositor: Fix Movie Distortion node rendering an empty imageManuel Castilla
Input area of interest calculation was incorrect because `m_margin` was uninitialized. Only "Full Frame" mode was affected.
2021-09-30Fix T91285: Bad tooltip for VSE Slip operatorPratik Borhade
This patch is created to change the tooltip for Slip Strip Contents As per the present info, only active strip will be affected. But in reality selected strips can be trimmed with this operator. Word Trim changed to Slip in tooltip Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D12450
2021-09-30VSE: Add ASC CDL color correction methodJosef Raschen
Add Offset/Slope/Power controls to the color balance modifier. This is already available in compositor. Reviewed By: sergey, ISS Differential Revision: https://developer.blender.org/D12575
2021-09-30Cleanup: Fix unused variable warningHans Goudey
2021-09-30Cycles: refactor API for render outputBrecht Van Lommel
* Add OutputDriver, replacing function callbacks in Session. * Add PathTraceTile, replacing tile access methods in Session. * Add more detailed comments about how this driver should be implemented. * Add OIIOOutputDriver for Cycles standalone to output an image. Differential Revision: https://developer.blender.org/D12627
2021-09-30Cycles: refactor API for GPU displayBrecht Van Lommel
* Split GPUDisplay into two classes. PathTraceDisplay to implement the Cycles side, and DisplayDriver to implement the host application side. The DisplayDriver is now a fully abstract base class, embedded in the PathTraceDisplay. * Move copy_pixels_to_texture implementation out of the host side into the Cycles side, since it can be implemented in terms of the texture buffer mapping. * Move definition of DeviceGraphicsInteropDestination into display driver header, so that we do not need to expose private device headers in the public API. * Add more detailed comments about how the DisplayDriver should be implemented. The "driver" terminology might not be obvious, but is also used in other renderers. Differential Revision: https://developer.blender.org/D12626
2021-09-30Geometry Nodes: Swap order of geometry proximity inputsHans Goudey
"Target" is the most important, so it goes at the top.
2021-09-30Nodes: Add Float Curve for GN and Shader nodes.Charlie Jolly
Replacement for float curve in legacy Attribute Curve Map node. Float Curve defaults to [0.0-1.0] range. Reviewed By: JacquesLucke, brecht Differential Revision: https://developer.blender.org/D12683
2021-09-30Geometry Nodes: Change default for mesh to points nodeHans Goudey
While "Vertices" may be less useful since mesh vertices are already points, the output is more easily understandable, so it's a better default.
2021-09-30Fix T91734: Crash snapping mesh if a beveled curve is presentGermano Cavalcante
`BKE_mesh_boundbox_get` cannot be called for objects of type Curve. The BoundBox however does not match the object seen in the scene. This will be dealt with in another commit.
2021-09-30Asset Catalogs: create missing parent catalogsSybren A. Stüvel
For every known catalog, ensure its parent catalog also exists. This ensures that assets can be assigned to parent catalogs, even when they didn't exist in the Catalog Definition File yet.
2021-09-30Fix possible use-after-free in drag-drop handling logicJulian Eisel
Would happen when there were multiple drag items in parallel. There was a listbase constructed with twice the same item, even though that item would be deleted after it was handled the first time.
2021-09-30UI: Support easy dropping into/onto rows in new tree-view APIJulian Eisel
Adds an easy way to add drop support for tree-view rows. Most of the work is handled by the tree-view UI code. The tree items can simply override a few functions (`can_drop()`, `on_drop()`, `drop_tooltip()`) to implement their custom drop behavior. While dragging over a tree-view item that can be dropped into/onto, the item can show a custom and dynamic tooltip explaining what's gonna happen on drop. This isn't used yet, but will soon be for asset catalogs. See documentation here: https://wiki.blender.org/wiki/Source/Interface/Views#Further_Customizations
2021-09-30Cleanup: remove `CatalogPath` aliasSybren A. Stüvel
The `CatalogPath` name was an alias for `std::string`, so that it could be easily switched over to something else. This happened in the previous commit (switched to `AssetCatalogPath`), so the alias is no longer necessary. This commit removes the `CatalogPath` alias. No functional changes.
2021-09-30Asset Catalog: introduce `AssetCatalogPath` classSybren A. Stüvel
So far we have used `std::string` for asset catalog paths. Some operations are better described on a dedicated class for this, though. This commits switches catalog paths from using `std::string` to a dedicated `blender::bke::AssetCatalogPath` class. The `using CatalogPath = AssetCatalogPath` alias is still there, and will be removed in a following cleanup commit. New `AssetCatalogPath` code reviewed by @severin in D12710.
2021-09-30GPencil: Change default template for better contrast in headerAntonio Vazquez
Patch created by Pablo Vazquez This change darkens the header area a bit to create more contrast with the texts. Differential Revision: https://developer.blender.org/D12711
2021-09-30Fix RigidBodyWorld copy using `NO_MAIN` instead of `COW` flag for cache ↵Bastien Montagne
handling. We only want to share caches in case of CoW copying for the depsgraph, not for regular `NO_MAIN` data.
2021-09-30Fix T90246: Full Copy'ing a scene confuses physics in the original scene.Bastien Montagne
Handling of RigidBody data in duplicate of scenes/collections was very wrong. This commit: - Add handling of duplication of RB collections when fully duplicating a scene. - Fix Object duplication trying to add duplicated RB objects to matching RBW collections. While the later behavior is desired when only duplicated objects, when duplicating their collections and/or scenes it is actually very bad, as it would add back new object duplicates to old (RBW) collections.
2021-09-30Cleanup: move node_common.c to c++Jacques Lucke
Buildbot compiled without problems.
2021-09-30Asset Browser: Support activating catalogs in the "Current File" libraryJulian Eisel
If the "Current File" asset library is selected in the Asset Browser, now asssets are filtered based on the active asset catalog. Previously it would just show all assets. This was marked as a TODO in the code already. Maniphest Task: https://developer.blender.org/T91820
2021-09-30Fix: Curve to Mesh node outputs original curveJacques Lucke
It should only output the new mesh (and potentially instances that are processed separately).
2021-09-30Fix: wrong field input deduplication with Material Selection nodeJacques Lucke
2021-09-30Fix T91773: improve numerical stability in Curve Spiral nodeJacques Lucke
2021-09-30Fix Cycles viewport flickeringSergey Sharybin
Caused by a lack of synchronization between update process which sets clear flag and the draw code checking the flag outside of a lock.
2021-09-30Fix color width regression in 66e24ce35bb37753b8002283a72d55639bb40239Campbell Barton
Color buttons were drawing single icon width.
2021-09-30Cleanup: remove unused SpaceImage.curtileCampbell Barton
2021-09-30Cleanup: reduce Sequence size by 8 bytesCampbell Barton
Also use int8_t for color tag.
2021-09-30Cleanup: isolate UDIM parameters into a structCampbell Barton
Passing multiple UDIM arguments into the packing function is awkward especially since the caller may not be using UDIM. Use an argument to store UDIM packing parameters which can be NULL, which operates without any UDIM support. Add a function that extracts these parameters out of the image space allowing for multiple functions to take UDIM parameters in the future.
2021-09-30Fix(unreported): LineArt curve objects garbled result.YimingWu
This is caused by line art loading curve objects twice from curve and converted mesh instances (when instance option is on). Now only load mesh when instance option is on.
2021-09-30Fix menu width regression in c7d94a7827a5be9343eea22a9638bb059f185206Campbell Barton
Icon only popup buttons needed to be adjusted too, add an uiTextIconPadFactor.icon_only to support this.
2021-09-30UI: Increase Area Resize Edge Hit SizeHarley Acheson
This patch increases the size of the Area BORDERPADDING a bit to make it easier to hit the edges when initiating area resizing. See D11925 for details and examples. Differential Revision: https://developer.blender.org/D11925 Reviewed by Campbell Barton
2021-09-29Geometry Nodes: Expose Bezier handle positions as an attributeHans Goudey
This commit exposes left and right bezier handles as an attribute. Interaction basically works like edit mode. If you move an aligned handle, it also moves the opposite handle of the control point. The difference is that you can't edit "Auto" or "Vector" handles, you have to first use the "Set Handle Type" node. That gives the handle types a bit more meaning in the node tree-- changing them in edit mod is more like a "UI override". The attributes are named `handle_start` and `handle_end`, which is the same name used in the curve RNA API. A new virtual array implementation is added which handles the case of splines that don't have these attributes, and it also calls two new functions on `BezierSpline` to set the handle position accounting for aligned handles. The virtual arrays and attribute providers will be refactored (probably templated) in the future, as a next step after the last built-in curve attribute provider has landed. Differential Revision: https://developer.blender.org/D12005
2021-09-29Add RNA path funcs for VolumeRender & VolumeDisplayPhilipp Oeser
Without proper RNA paths, Alt-click editing properties on multiple selected objects doesn not work (as well as the 'Copy To Selected' operator). Fixes T91806. Maniphest Tasks: T91806 Differential Revision: https://developer.blender.org/D12700
2021-09-29Fix T91803: Freestyle rendering as pass broken after recent changesBrecht Van Lommel