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-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
2021-09-29Cleanup: Compositor: Migrate most converter nodes to new socket builderAaron Carlisle
This migrates most nodes except for the switch view node. This node requires dynamic sockets so its implementation will be more involved.
2021-09-29Nodes: Fix Split View missing identifierAaron Carlisle
Mistake from rB84251acfcc4534059d6ccd6682f8e37d529b9063
2021-09-29Fix Cycles CPU performance regression after recent change for intersections sizeBrecht Van Lommel
This struct is much bigger now, and does not actually need to be fully zero initialized.
2021-09-29Tests: Disable tests for non-compiled librariesHimanshi Kalra
This diff disables tests for Boolean, subdivision surface and volume when GMP, Opensubdiv and Openvdb are not compiled respectively. It also changes the existing file structure and adds sub-folders for boolean and subdivison tests. The volume folder only has one test and is as unchanged structure-wise. Reviewed By: JacquesLucke, LazyDodo Differential Revision: https://developer.blender.org/D12448
2021-09-29Fix non-finite curve normal causing Cycles to crashSergey Sharybin
Similar to the previous change in the area: need to avoid ray point and direction becoming a non-finite value. Use the view direction when the geometrical normal can not be calculated. Collaboration and sanity inspiration with Brecht! Differential Revision: https://developer.blender.org/D12703
2021-09-29GPencil: Avoid double depsgraph tagAntonio Vazquez
The eval data is updated at the end of the function and this call just adds a calculation not used.
2021-09-29Assets: Enable recursive reading for the asset view template as wellJulian Eisel
This makes asset view templates, e.g. as used by the Pose Library add-on use recursive asset loading, see Also works around an issue that made assets not show up at all anymore since fc7beac8d6f4. I'm creating a separate report for that regression, but in the Asset Browser and Viewer it shouldn't be apparent currently.
2021-09-29Fix build failure on Windows + wrong buffer sizeJulian Eisel
Was using `NAME_MAX` which is defined in `limits.h`, which again may be implicitly included by the compiler. Intend was to use the Blender define `MAX_NAME`.
2021-09-29Asset Browser: Initial Asset Catalog UIJulian Eisel
The Asset Browser now displays a tree with asset catalogs in the left sidebar. This replaces the asset categories. It uses the new UI tree-view API (https://wiki.blender.org/wiki/Source/Interface/Views#Tree-View). Buttons are displayed for adding and removing of catalogs. Parent items can be collapsed, but the collapsed/uncollapsed state is not stored in files yet. Note that edits to catalogs (e.g. new or removed catalogs) are only written to the asset library's catalog definition files when saving a .blend. In the "Current File" asset library, we try to show asset catalogs from a parent asset library, or if that fails, from the directory the file is stored in. See adaf4f56e1ed. There are plenty of TODOs and smaller glitches to be fixed still. Plus a UI polishing pass should be done. Important missing UI features: * Dragging assets into catalogs (WIP, close to being ready). * Renaming catalogs * Proper handling of catalogs in the "Current File" asset library (currently not working well). The "Current File" asset library is especially limited still. Since this is the only place where you can assign assets to a catalog, this makes the catalogs very cumbersome in general. To assign an asset to a catalog, one has to manually copy the Catalog ID (a random hash like number) to the asset metadata through a temporary UI in the Asset Browser Sidebar. These limitations should be addressed over the next few days, they are high priority. Differential Revision: https://developer.blender.org/D12670
2021-09-29Fix T89864: Adding an asset referencing other objects adds it to scene but ↵Bastien Montagne
only adds data-blocks of referenced objects. Link/append code needs proper access to scene/view3d data to handle collections/objects instantiation. Note that this is a temporary hack more than a proper fix, which would require a deeper redesign of drag&drop code. Also note that this will not handle 'properly' (i.e. as user would expect it) cases like implicitely appended parent objects, in that only the explicitely appended object will be dropped to the nes location, the others will remain at their original coordinates. Differential Revision: https://developer.blender.org/D12696
2021-09-29Cleanup: Enforce C linkage for internal File Browser headerJulian Eisel
This will be used by C++ code in the upcoming asset catalog UI commit.
2021-09-29Fix Cycles use of uninitialized value in volume stack intersection on CPUBrecht Van Lommel
Could cause an actual bug but probability is low in practice.
2021-09-29Cycles: record large number of transparent shadow intersections on CPUBrecht Van Lommel
So we can do fewer intersection calls, only on the GPU do we need to save memory and do this in small steps. Ref T87836
2021-09-29Fix Cycles crash in certain hair configurationsSergey Sharybin
The issue was caused by hair shader setup setting normal to a non finite value, which then gets used to create a ray with non-finite direction, making BVH traversal to run out of stack memory. Happens with 150_0040_A.lighting.blend frame 112 of the Sprites project. Differential Revision: https://developer.blender.org/D12692
2021-09-29Keymap: New preference to open folders on single click in file browserPablo Vazquez
Introduce a new keymap preference to navigate into folders by clicking on them once instead of twice. Makes browsing folders faster albeit non-standard, so keeping this off by default for now. Does not affect Industry Compatible or other keymaps. It is still the possible to right-click to open context menu, hold Ctrl or Shift to select multiple items: {F10651030, size=full} ---- Keymap preference: {F10652759, size=full} Part of T91537 Reviewed By: fsiddi, campbellbarton Differential Revision: https://developer.blender.org/D12667