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-11-21Cleanup: Move menu search template to C++Hans Goudey
This allows the use of better/more readable data structures, and will also make some refactors to the search button easier. The build completed on the buildbot for all platforms.
2021-11-20Merge branch 'blender-v3.0-release'Brecht Van Lommel
2021-11-20Fix T92090: Eevee crash with Intel HD 4000 and macOS 10.15.7Brecht Van Lommel
A recent security update to macOS 10.15.7 causes crashes when using Eevee and various other 3D viewport features. It appears that glGenerateMipmap is broken, causing a crash whenever its commands are flushed/submitted to the GPU. Ideally this would be fixed in a driver update, however it's unlikely this will happen. Earlier macOS versions have been receiving security updates for 2 years, and that window has just passed for 10.15. Further, computers with these GPUs can't upgrade to a newer macOS version. As a workaround, disable mipmaps on these GPUs, by setting the mipmap max level to 0 and not calling glGenerateMipmaps. Effects like depth of field also use mipmaps, but fill in the mip levels by other means. In those cases we keep the mipmap level. Differential Revision: https://developer.blender.org/D13295
2021-11-20Cleanup: unset 'FILE_ENTRY_PREVIEW_LOADING' at the endGermano Cavalcante
Although this function only runs on the main thread, it seems safer to clear the flag only after setting the result.
2021-11-20Merge branch 'blender-v3.0-release'Philipp Oeser
2021-11-20Fix T93194: greasepencil channel lists ignoring collection visibilityPhilipp Oeser
Same fix as rB0a3b4d4c64f1, but this time for greasepencil. To repeat: dopesheet in greasepencil mode was ignoring the temporariy visibility flag of collections. As a result, even though the dopesheet was supposed to show animation data of visible greasepencils only was still showing such data of greasepencils that were hidden by hiding their collection.
2021-11-20Cleanup: Else after returnHans Goudey
2021-11-20Merge branch 'blender-v3.0-release'Germano Cavalcante
2021-11-20Fix error in rBfb0ea9Germano Cavalcante
There is no need to multiply the "dash_width" by `UM.pixel size` since the "viewport_size" is already being divided by the DPI. Ref {rBfb0ea9}
2021-11-20Geometry Nodes: Instance attributes in Transfer/Capture nodesErik
Updates the Transfer Attributes and Capture Attributes nodes to support attributes from instances. Differential Revision: https://developer.blender.org/D13292
2021-11-20Refactor: Port spreadsheet data set to UI tree viewHans Goudey
This patch removes a bunch of specific code for drawing the spreadsheet data set region, which was an overly specific solution for a generic UI. Nowadays, the UI tree view API used for asset browser catalogs is a much better way to implement this behavior. To make this possible, the tree view API is extended in a few ways. Collapsibility can now be turned off, and whether an item should be active is moved to a separate virtual function. The only visual change is that the items are now drawn in a box, just like the asset catalog. Differential Revision: https://developer.blender.org/D13198
2021-11-20Fix: Exception in tree view code in new caseHans Goudey
This isn't a problem in 3.0 or master, but I'm porting the spreadsheet data set region to a tree view and ran into this. This line needs to whether the function is empty before calling it. Differential Revision: https://developer.blender.org/D13197
2021-11-20Cleanup: Use canonical variable nameHans Goudey
All `ARegion` variables should be called `region` unless there is a good reason not to, since that is the convention.
2021-11-19Cleanup: Use vector instead of linked listHans Goudey
2021-11-19Cleanup: Simplify node editor link dragging storageHans Goudey
Now that `node_intern.hh` is a C++ header, we can use C++ types there. This patch replaces the linked list of dragged links with a vector. Also, the list of drag operator custom data, `nldrag`, doesn't seem to need to be a list at all, so I just made it a unique pointer. Differential Revision: https://developer.blender.org/D13252
2021-11-19Merge branch 'blender-v3.0-release'Germano Cavalcante
2021-11-19Fix T85855: F-curves too thin on MacGermano Cavalcante
Use the `GPU_SHADER_3D_POLYLINE_UNIFORM_COLOR` shader instead of `GPU_SHADER_2D_LINE_DASHED_UNIFORM_COLOR`. This is just a partial solution as "protected" fcurves still use the dashed shader. Differential Revision: https://developer.blender.org/D13290
2021-11-19Merge branch 'blender-v3.0-release'Clément Foucault
2021-11-19Fix T91838 Crash when toggling edit mode on object with geometry node ↵Clément Foucault
modifier, but only if the instanced objects material has a normal map assigned. This is only a workaround to avoid the crash. The underlying issue is left unfixed. New report for tracking the underlying issue is T93223.
2021-11-19Fix: Use the instances domain in instance transform nodesHans Goudey
Instance attributes exist on the instance domain after rB97533eede44421, so these fields should be evaluated on that domain.
2021-11-19Spreadsheet: Support instances component viewer node columnsHans Goudey
After rB97533eede444217b, instances have their own attribute domain, but the spreadsheet code worked under the assumption that the component used the point domain. Old files have to re-select the instances data source to make it properly active
2021-11-19Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-19Geometry Nodes: Support custom instance attributesErik
Adds an attribute provider for instance attributes. A new domain `ATTR_DOMAIN_INSTANCE` is implemented. Instance attributes are not yet realized correctly. Differential Revision: D13149
2021-11-19Fix T92682: EEVEE motion blur crash with curve objectsHans Goudey
After rBb9febb54a492, the evaluated mesh from a curve is now presented to render engines as a separate mesh object, but some code still assumed that a curve object itself could have an evaluated mesh. However, this is still true for surface objects and metaballs, which don't use geometry sets yet. Differential Revision: https://developer.blender.org/D13272
2021-11-19Merge remote-tracking branch 'origin/blender-v3.0-release'Sybren A. Stüvel
2021-11-19Asset Browser: don't display linked-in asset datablocksSybren A. Stüvel
Datablocks marked as asset, linked from another file, were shown in the "Current File" asset library. This is now resolved.
2021-11-19Merge branch 'blender-v3.0-release'Bastien Montagne
Conflicts: source/blender/blenkernel/BKE_blender_version.h source/blender/blenloader/intern/versioning_300.c
2021-11-19Asset Preferences: disallow single file as asset librarySybren A. Stüvel
Asset libraries should be directories on disk. By manually entering a file path it was possible to have a single blend file as asset library, but that was not a designed-for situation, and it doesn't play well with the asset catalog system.
2021-11-19Cleanup: typos in commentsPhilipp Oeser
2021-11-19LibOverrides: Refactor how diffing of RNA collections is handled.Bastien Montagne
Original implementation was a quick prototype which should have never landed as-is in master. It had very limiting constraints and did not allow for any real further development. This commit fixes the internal implementation to make more sensible, maintainable and evolutive. NOTE: This commit introduces another forward-incompatibility in the Blender file format: Files saved after this commit won't open properly in older versions of blender regarding local inserted constraints or modifiers into overrides of linked data. NOTE: Technical details: The 'anchor' item name/index is now stored in `subitem_reference_` members, and the actual 'source' item name/index is stored in `subitem_local_` members of the override property operation data. Previously, only the `subitem_local_` members were used, storing the anchor item name/index, and assuming the 'source' item was always the next in the list. Milestone I of T82160. Maniphest Tasks: T82160 Differential Revision: https://developer.blender.org/D13282
2021-11-19BLI_listbase: Add utils to search from string or index.Bastien Montagne
If a valid matching string is found, return that item, otherwise fallback to the item matching the given index, if any. This will be useful in RNA override code, and potentially other areas where data in lists can be referenced by their names or indices.
2021-11-19Merge branch 'blender-v3.0-release'Jacques Lucke
2021-11-19Fix T87912: use session id instead of name to identify dropped objectJacques Lucke
The old code did not work when there were multiple ids with the same name (which can happen when ids are linked in). The solution is to use the session ids instead. Those are different even when two ids have the same name. Differential Revision: https://developer.blender.org/D11116
2021-11-19Merge branch 'blender-v3.0-release'Omar Emara
2021-11-19Fix T93184: Link color not used for custom socketsOmar Emara
D13044 allowed the link color overlay to be used with custom sockets. This no longer works due to a condition that checks if the socket is standard or not, which was in place to avoid bad indexing of the std_node_socket_colors array. Since that array is no longer used, this condition needs to be removed. Differential Revision: https://developer.blender.org/D13274 Reviewed By: Hans Goudey
2021-11-19Cleanup: fix typos in comments and docsBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D13264
2021-11-19LibOverride: Add read-only flags accessors for 'local override' status.Bastien Montagne
Constraints, modifiers and NLA tracks can now report from RNA whether they are defined as comming from the override's reference linked data, or are local to the override.
2021-11-19Fix (unreported) wrong behavior of constraints in liboverrides.Bastien Montagne
All constraints were 'made local', including the ones comming from the reference linked object.
2021-11-19Merge branch 'blender-v3.0-release'Jacques Lucke
2021-11-19Fix T93054: crash when deleting a missed linked fileJacques Lucke
This is a bit similar to rBb7260ca4c9f4b7618c9c214f1270e31d6ed9886b. Sometimes a group node may not reference a node group because it was linked and can't be found.
2021-11-19Merge branch 'blender-v3.0-release'Philipp Oeser
2021-11-19Fix crash in VSE versioning code from recent commitPhilipp Oeser
Caused by {rB4d09a692e22a}. Greenlit by @sergey in chat.
2021-11-19Nodes: add bf_nodes_geometry libraryJacques Lucke
Separating geometry nodes into a new library will make it easier to improve compile times with features like unity builds and precompiled headers. Differential Revision: https://developer.blender.org/D13261
2021-11-19Merge branch 'blender-v3.0-release'Richard Antalik
2021-11-19Fix T92847: Meta-strip corruptRichard Antalik
Offsets for meta strip were invalid. No steps to reproduce the issue are available, but it is quite possible that there are files with incorrect state after issues with meta strips were fixed. Ensure correct offsets for meta strips in versioning code. Reviewed By: sergey Differential Revision: https://developer.blender.org/D13257
2021-11-19Cleanup: Add an empty() method to RNA's CollectionRef classJesse Yurkovich
The existing RNA CollectionRef class only offers a length() operation which is sometimes used for checking if the collection is empty. This is inefficient for certain collection types which do not have a native length member; the entire list is iterated to find the count. This patch creates an explicit empty() method to be used in such cases for better semantics. Additionally, many collection types will behave more efficiently when using the new method instead of checking length. Making use of the new method will follow separately. Differential Revision: https://developer.blender.org/D12314
2021-11-18Node Editor: Change minimum zoomErik
Now with Geometry Nodes in Blender, trees can become much bigger than before. This changes the minimum zoom value in the node editor. Differential Revision: https://developer.blender.org/D13254
2021-11-18Node Editor: Skip socket drawing on low zoomErik
Socket drawing can be heavy with many nodes. This patch skips drawing them on scale < 0.2 when they are barely visible anyway. Differential Revision: https://developer.blender.org/D13255
2021-11-18Revert fixesGermano Cavalcante
2021-11-18Revert "Revert "Revert "Revert "Allow navigating while transforming""""Germano Cavalcante
This reverts commit 717a971035071d36af03d65713408f4da1f69cb3.