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-03-19Cleanup: Use enum class for DataType.Jeroen Bakker
2021-03-19Cleanup: enum class ChunkOrdering.Jeroen Bakker
2021-03-19Cleanup: Use enum class for CompositorQuality.Jeroen Bakker
2021-03-19Cleanup: Use enum class for CompositorPriority.Jeroen Bakker
2021-03-19Cleanup: compositor - chunk orderJeroen Bakker
No functional changes.
2021-03-19Cleanup: Remove unneeded complexityJeroen Bakker
`determineDependingMemoryProxies` was mapping a value in a temp vector.
2021-03-19Geometry Nodes: Make cone primitive 2m tall by defaultHans Goudey
This gives the cone mesh primitive more pleasing proportions by default.
2021-03-19Geometry Nodes: Move cone primtive to rest on its base by defaultHans Goudey
This is generally what people expect when generating a cone. Note that this translation currently happens after the rotation, but since the rotation will likely be removed in the future, that won't be a problem for long.
2021-03-19Geometry Nodes: Implicit interpolations to and from the edge domainHans Goudey
This patch adds the remaining 6 interpolations for mesh domains. The new interpolations are: - Corner / point / polygon to edge - Edge to corner / point / polygon After this it is possible to adapt an attribute to and from every mesh domain. This is simple to test with the "Attribute Convert" node. Though, as a note for the future, there are still some improvements possible to the interpolations, like lazily calculating values for the interpolations where it's possible, and slightly improving the algorithms used for some interpolations, like using corner angles for polygon to point. Differential Revision: https://developer.blender.org/D10765
2021-03-19LibOverride: fix code trying to auto-resync linked overrides.Bastien Montagne
This is not only potentially extremely expensive, it is also fairly futile, and code is not designed to handle it currently anyway (could easily end up in inifinite loops and other crashes).
2021-03-19Cleanup: add const.Jeroen Bakker
2021-03-19Cleanup: Replace std::vector with blender::Vector.Jeroen Bakker
2021-03-19Fix T86710: Crash When Adding Node Group.Jeroen Bakker
When adding a node group there can be no inputs in the input map that was triggering an assert.
2021-03-19Cleanup: remove unused functionCampbell Barton
2021-03-19Cleanup: minor changes to pose-mode apply visual transformCampbell Barton
- Remove use of evaluated poses, instead calculate transformations into an array which is applied afterwards. - Only update ID's for poses that have been changed.
2021-03-19BLI: Add location, rotation, scale constructor to float4x4Hans Goudey
This is simply a convenience when using this type. More similar constructors can be added in the future when they are useful. Differential Revision: https://developer.blender.org/D10714
2021-03-19Python API: Expose CurveProfile Reset View functionPatrick Busch
Allow python access to the `reset_view` functionality which before was only available through the menu. This was suggested for consistency after D10561. Differential Revision: https://developer.blender.org/D10595
2021-03-19Fix T86701: Geometry nodes Cube and UV Sphere mesh sizePratik Borhade
The size in the transform matrices was extra, since it is also passed as an argument to the BMesh operators. Differential Revision: https://developer.blender.org/D10763
2021-03-18Geometry Nodes: Don't create empty components when realizing instancesHans Goudey
Previously even if the input goemetry set had no point cloud or no mesh instances, `geometry_set_realize_instances` would create empty data. This isn't necessarily bad, but it can complicate things down the line if there are a bunch of empty components getting passed around.
2021-03-18Fix T86448 EEVEE: SSRefraction Depth regressionClément Foucault
Caused by recent change for contact shadow raytracing. rB4e236326c137
2021-03-18Fix T86677: select grouped in node editor crashes without active nodePhilipp Oeser
This was reported for geometry nodes, but was true for all nodetrees (e.g. after deleting the active node). Geometry node trees just made this more obvious since they start without an active node to begin with. Fix provided by @lone_noel, thx! Maniphest Tasks: T86677 Differential Revision: https://developer.blender.org/D10762
2021-03-18LibOverride: Fix missing update after an override reset.Bastien Montagne
We need to brute-force reset IDs with `ID_RECALC_ALL` here...
2021-03-18LibOverride: Outliner: Rename `Add...` to `Make...`.Bastien Montagne
Also more consistent with the name used for the 3DView operator.
2021-03-18Fix 3DView not updating on some NC_ID notifiers.Bastien Montagne
Outliner uses a lot `NC_ID | NA_EDITED` e.g., which was not caught by the View3D editor for update.
2021-03-18LibOverride: Outliner: Tweak override creation from instancing empty.Bastien Montagne
Now behavior is similar to the one from 3DView: once override of the collection is successfuly created, we remove the instancing empty from the scene.
2021-03-18Fix missing view3d updates after recent NC_SPACE notifier filtersPhilipp Oeser
Since {rB46aa70cb486d}, using `NC_SPACE | ND_SPACE_VIEW3D` as notifier is restricted to space data as a reference. This was still used though for RNA updates in other places (namely `rna_camera`, `rna_scene`, `rna_animviz`), and passing NULL would automatically set the notifier reference to the owner id. Above commit would happily filter these out, leading to missing refreshes. Now use more specific notifiers (in case of animviz a new `ND_DRAW_ANIMVIZ` was added). This was reported for Camera background images btw. Fixes T86670. Maniphest Tasks: T86670 Differential Revision: https://developer.blender.org/D10758
2021-03-18UI: Dynamically increase data-block name button size if there's spaceJulian Eisel
Data-block selectors (or other selectors using the `UILayout.teamplate_search` or `UILayout.template_search_preview`) in headers used a fixed size width for the name button. Often that meant the text would be clipped to fit even though there was plenty of whitespace surrounding the data-block selector. Now the name button can increase in width with the contained string, clamped to some arbitrary and quite big maximum (3 times the minimum width). We could further take the available space into account, to reduce the need for scrolling in the header. But I don't think that is much of an issue and the name clipping it would re-introduce would probably be more annoying.
2021-03-18Fix T86594: Overrides: Possible collection "duplication".Bastien Montagne
Issue was actually in some Collection management code, a bit too eager to add collection to the scene master one when it was not actually needed.
2021-03-18LineArt: Add missing dna variable renameSebastian Parborg
Forgot to add this in: "Cleanup, LineArt: Rename LineartLine -> LineartEdge" df280637952d35cfaa74e31f03a0d825b22eddf4
2021-03-18Cleanup, LineArt: Sample -> ResampleYimingWu
Clear up what sample length does by renaming the option and variables.
2021-03-18Cleanup: Remove unused variable in gpencil_add_lineart.cSebastian Parborg
2021-03-18LineArt: Expose the allow_duplication property for instanced objects.YimingWu
It was missing from the UI.
2021-03-18Fix T86692: Start Line Art GP objects on frame 0YimingWu
If playback starts before the first GP frame, we will get "ghost" strokes.
2021-03-18LineArt: Do not calculate lines for objects not includedYimingWu
Only use non included objects for potential occlusion queries. Don't calculate lines for them. This fixes intersection lines appearing on objects not included by the lineart modifier.
2021-03-18Cleanup, LineArt: Rename LineartLine -> LineartEdgeSebastian Parborg
Also cleanup various other "line" variable names
2021-03-18GPencil: Fix unreported datablock type changed using Dopesheet box selectAntonio Vazquez
When doing a box selection in the dopesheet in the header area, the data block type was changed to annotation because the pointer was not usable and produced an unexpected result. Thanks to @pullup for finding a way to reproduce the bug.
2021-03-18BLO: Functions for temporarily loading a single datablockSybren A. Stüvel
This introduces two functions to the blenloader module, here shown as calls for brevity: * `temp_lib_ctx = BLO_library_temp_load_id(real_main, blend_file_path, idcode, idname, reports);` * Now the data in `temp_lib_ctx->temp_id` can be used (but ought not to be not assigned to non-temp datablocks). * `BLO_library_temp_free(temp_lib_ctx);` The first loads a datablock from a blend file, and returns it as part of a `struct TempLibraryContext`. This struct contains the temp-loaded ID, as well as enough information to correctly free everything again. Differential Revision: https://developer.blender.org/D10736
2021-03-18Fix T86219: Compositor backdrop not using Color Management ViewPhilipp Oeser
Transforms in certain cases This was caused by wrong flag checking in {rB278011e44d43}, which just seems to be a copy-paste error. For example, enabeling 'Auto-Offset' in the View menu would lead to CM being ignored. Maniphest Tasks: T86219 Differential Revision: https://developer.blender.org/D10751
2021-03-18Cleanup: use doxy sections for pose_transform.cCampbell Barton
2021-03-18Cleanup: remove MJPEG reference from error messageRichard Antalik
Proxy coded has been changed to h264. Error code is more generic now.
2021-03-18Cleanup: spellingCampbell Barton
2021-03-18Cleanup: remove unused common_restrict_check functionCampbell Barton
Since c10ad8e9eabea8a10d35efea3860cc345977e4f9 hiding edit-mode objects is supported. Although this function had already been removed in aeb8e81f2741aabc95d14bce7a83cef45481959c.
2021-03-17Cleanup: Remove commented codeHans Goudey
Mistake in earlier commit rBbe33d3eccdcdf252. Also use const and set layouts disabled when the line art is baked.
2021-03-17Geometry Nodes: Rename "Subdivide Smooth" back to "Subdivision Surface"Hans Goudey
Following concerns raised in the commit that changed the name initially, rB2e19509e60b39837, it makes more sense to keep the "Surface" name for this node because it has a specific meaning that should not be confused with other types of subdivision.
2021-03-17Geometry Nodes: Use consistent default for cylinder nodeHans Goudey
- Use 2m height instead of 1m - Default to N-Gon fill for the top and bottom
2021-03-17UI: Tweak labels, descriptions, and panel layout for line artHans Goudey
Changes include: - Use `IFACE_` for UI labels set in the modifier panels - Use a sub-sub-panel for transparency - Fix grammar and spelling mistakes - Use more natural user-friendly wording - Make descriptions more specific and more useful - Don't capitalize "line art" in descriptions (tooltips) These changes are aimed at making the UI strings more consistent with the rest of the UI and being more helpful to someone trying to understand how to use the modifier. Differential Revision: https://developer.blender.org/D10750
2021-03-17Nodes: make derived link data more obvious in NodeTreeRefJacques Lucke
`NodeTreeRef` is a thin wrapper on top of `bNodeTree`. By default it should not hide anything from the underlying `bNodeTree` (before this it was hiding muted links). For convenience some "derived" data is cached on sockets. For example all the connected sockets when reroutes and muted links are ignored. A nice side benefit of this refactor is that `NodeTreeRef` requires less memory than before.
2021-03-17BLI: support equality operator on Span and VectorJacques Lucke
This is quite convenient sometimes and is available for `std::vector` as well.
2021-03-17BLI: improve implicit conversions of spansJacques Lucke
Some conversions that should work did not work before. For example, `MutableSpan<int *> -> MutableSpan<const int *>`.
2021-03-17LineArt: Fix transparenct mask in cutting function.YimingWu