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-19Geometry Nodes: Add geometry instances data to the spreadsheetHans Goudey
This patch adds data about instances generated by geometry nodes to the spreadsheet. The transform data is decomposed into position, rotation, and scale, and there is a name column to display the name of the instanced object or collection. This data is implemented specifically for the spreadsheet, because we're not sure that we want to expose this data as attributes for the use elsewhere. Differential Revision: https://developer.blender.org/D10770
2021-03-19BLI: Add accessors for translation, rotation, and scale of float4x4Hans Goudey
2021-03-19Cleanup: rename x1/x2/y1/y2 to x/y/width/heightJacques Lucke
2021-03-19Geometry Nodes: Refactor / fix point separate nodeHans Goudey
The point separate node was failing in situations where one of the outputs was empty. In addition, the code was not structured very well. This new implementation stores less temporary information, is more geometry component type agnostic, and is more self-descriptive. It also solves the problems mentioned above. Fixes T86573 Differential Revision: https://developer.blender.org/D10764
2021-03-19LineArt: Added back the missing "allow_clipping_boundaries" option.YimingWu
This option was missing from the UI. Also add missing camera settings depsgraph relation.
2021-03-19LineArt: Modifier defaults settings optimization.YimingWu
Make options that are usually only useful in edge cases off by default. These settings would requite extra work and thus the modifier evaluation would be needlessly slower as most users do not need these options to be on.
2021-03-19LineArt: Remove geometry space chainingYimingWu
It caused some chaining errors when used in combination with image space chaining. After some internal discussion, we realized it is not useful as chaining in image space essentially does the same thing.
2021-03-19LibOverride: Stash away 'leftover' objects/collections from auto-resync process.Bastien Montagne
Instead of storing those in scne's master collection, which is fairly annoying, we now add them to a (hidden) specific collection. Easy to ignore, or check and cleanup.
2021-03-19Cleanup: Use uint8_t for num of channels.Jeroen Bakker
2021-03-19Cleanup: Use enum class for MemoryBufferExtend.Jeroen Bakker
2021-03-19Cleanup: Remove unused states and vars from MemoryBuffer.Jeroen Bakker
2021-03-19Cleanup: MemoryBuffer do not store width and height.Jeroen Bakker
2021-03-19Cleanup: Rename copyContentFrom to fill_from.Jeroen Bakker
2021-03-19Cleanup: Add copy constructor to MemoryBuffer.Jeroen Bakker
2021-03-19Cleanup: Use ref to read from encapsuled data.Jeroen Bakker
MemoryBuffer->getRect was returning a ptr.
2021-03-19Cleanup: Replace ptr with ref (COM_MemoryBuffer).Jeroen Bakker
2021-03-19Cleanup: Replace ptr with ref.Jeroen Bakker
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-19Fix Cycles NaN assert in random walk SSS due to very small throughputBrecht Van Lommel
Now terminate if there are many bounces and the throughput gets so small that we get precision issues.
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-19Fix T86208: copy node group button is inconsistent in geometry nodesAngus Stanton
Differential Revision: https://developer.blender.org/D10740
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-18GPencil: Rename Options panel to SettingsAntonio Vazquez
This change is to keep consistency with other panels with the same functionality. Reviewed by @pablovazquez
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-18Fix T86548: Sculpt: Mask by Color tool not workingPhilipp Oeser
Caused by {rB2917f550caa9} which renamed the entry in the toolsystem, but not the corresponding keymap. Maniphest Tasks: T86548 Differential Revision: https://developer.blender.org/D10725
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