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
path: root/source
AgeCommit message (Collapse)Author
2020-10-23Geometry Nodes: make some function nodes availableJacques Lucke
We might not want to have all those nodes in a final version. Some of them have been added with particle nodes in mind. However, to test the evaluation system it is useful to have a couple of nodes available. Those nodes should "just" work, because their implementation is reused from the particle nodes project.
2020-10-23Geometry Nodes: improve node group evaluationJacques Lucke
This adds support for nodes that have a multi-function implementation. That includes various function nodes like Math, Combine Vector, ... Furthermore, there is support for implicit conversions now. So it should work when one connects e.g. a float to an integer and vice versa.
2020-10-23Nodes: add utility methodsJacques Lucke
2020-10-23Functions: add utility methodJacques Lucke
2020-10-23Geometry Nodes: Resolve some missing 3D viewport updatesHans Goudey
These two functions "snode_notify" and "ED_node_tag_update_id" appear to be mostly duplicates. However, there is already a case for each type of built-in node tree, so it makes sense to add one for the geometry node tree as well. This doesn't solve the update issues for changing number in buttons, that must be handled somewhere else.
2020-10-23Merge branch 'master' into geometry-nodesHans Goudey
2020-10-23Cleanup: Use DNA deprecated guards around old flagsHans Goudey
These flags shouldn't be used except in versioning code.
2020-10-23Merge branch 'blender-v2.91-release'Hans Goudey
2020-10-23Fix T81818: Outliner mode column crashes with shared object dataHans Goudey
For objects with shared data, it makes sense to show the mode icon for every object sharing the same data if one of them is in edit mode. This also disables the "extend" functionality in this case, because being in edit mode for multiple objects with the same data isn't supported. Differential Revision: https://developer.blender.org/D9273
2020-10-23Merge branch 'blender-v2.91-release'Aaron Carlisle
2020-10-23Pydoc: Fix sphinx compile warnings about freestyleAaron Carlisle
Sphinx expects functions and methods with the same name and different parameters to be written using one directive. See: https://www.sphinx-doc.org/en/master/usage/restructuredtext/domains.html#basic-markup Unfortunately this makes giving different descriptions for each harder. This was already a request for better support for this in sphinx, see: https://github.com/sphinx-doc/sphinx/issues/7787 Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D9170
2020-10-23Cleanup: make formatAaron Carlisle
2020-10-22Merge branch 'blender-v2.91-release'Hans Goudey
2020-10-22Cleanup: Simplify outliner mode column drawing functionHans Goudey
Move the checks for whether to draw the button to the beginning of the function and return early. Also use a shorthand variable for ob_active. Committing to 2.91 as a patch for an upcoming bug fix depends on these changes. Differential Revision: https://developer.blender.org/D9272
2020-10-22Geometry Nodes: Add edge split node functionalityHans Goudey
2020-10-22Merge branch 'blender-v2.91-release'Antonio Vazquez
2020-10-22GPencil: Fix unreported crash using layer solo mode and masked layersAntonio Vazquez
The solo mode was skipping the layer creation data and the loop of masks expect to have all layers in the array or the loop crash. The solution is just create the layer array data for the layer, but don't draw any stroke.
2020-10-22Fix T81967: Crash when using extrude on a text objectHans Goudey
Caused by rBa308607a5334, which mistakenly removed these lines.
2020-10-22Sculpt: Grab silhouette optionPablo Dobarro
This adds a property to the grab that masks vertices based on its original normal and grab delta. When used on thin meshes, it allows to grab the silhouette from one side of the object without affecting the shape of the other side. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9205
2020-10-22Geometry Nodes: expose minimum vertices input of Triangulate nodeJacques Lucke
2020-10-22Fix error in previous commitJacques Lucke
That should not have happened -.-
2020-10-22Fix T81932: Dyntopo crashing with sculpt vertex colors brush toolsPablo Dobarro
Paint and smear tools are only implemented for regular mesh PBVH, meaning they are not supported by the dynamic topology and multires sculpting. These tools are to be ignored for an unsupported sculpt modes, regardless of state of user preferences. Reviewed By: sergey Maniphest Tasks: T81932 Differential Revision: https://developer.blender.org/D9308
2020-10-22Fix previous commentJacques Lucke
2020-10-22Geometry Nodes: simplify and deduplicate callbacks on socketsJacques Lucke
This adds a layer of abstraction between the code calling callbacks on sockets and the implementation of those callbacks. This abstraction layer allows some sockets to not implement all callbacks when those can be derived from some other callback.
2020-10-22GPencil: Add new parameter to set caps in CutterAntonio Vazquez
The new parameter allows to define if after cutting the stroke the cap of the cut side will be set as flat. Before, the cap shape of the cut side always was equal to the original stroke, and in some situations, the rounded cap was visible. Note: If the angle of the join is very extreme, it's still possible to view some sections of the cut stroke.,
2020-10-22Merge branch 'blender-v2.91-release'Hans Goudey
2020-10-22Fix T81909: Translation missing for some labels in modifier panelsHans Goudey
Every label string in uiItem* calls needs an IFACE_ call.
2020-10-22Merge branch 'blender-v2.91-release'Antonio Vazquez
2020-10-22GPencil: Fix unreported mistake in material index for trace imagensAntonio Vazquez
The material index was not used and only worked with new objects.
2020-10-22Merge branch 'blender-v2.91-release'Pablo Dobarro
2020-10-22Sculpt: Remove tools with missing icons experimental optionPablo Dobarro
All tools planned for 2.91 now have icons, so this option can be removed. Reviewed By: dfelinto, Severin Differential Revision: https://developer.blender.org/D9299
2020-10-22Geometry Nodes: change "Node Tree" to "Node Group"Jacques Lucke
2020-10-22Potential fix for T81963: Random crashes in liboverride code.Bastien Montagne
From the backtrace it looks like in some cases file save (which triggers a general override updates) is done before other code has a chance to re-generate pose data, leading to rna accessing freed memory. I was never able to reproduce that here, so this is a tentative fix in master, if it proves to be working for the studio it will be cherry-picked into 2.91 release branch later.
2020-10-22Pose: Add a 'pose_ensure' new utils that only rebuilds if needed.Bastien Montagne
Avoids having to spread the check logic everywhere in the code.
2020-10-22Merge branch 'blender-v2.91-release'Philipp Oeser
2020-10-22Geometry Nodes: initial support for evaluating geometry node groupsJacques Lucke
This is still very basic and does quite a few unnecessary computations. Also the error handling is quite weak currently, so when invalid things are connected, it will probably just crash. Also the interface that individual nodes have to implement will have to change, but the current solution is a good starting point. Only the triangulate node is implemented for now.
2020-10-22Geometry Nodes: add an initial geometry classJacques Lucke
2020-10-22Functions: add generic pointer classJacques Lucke
This class represents a pointer whose type is only known at runtime.
2020-10-22Functions: add move operations to CPPTypeJacques Lucke
2020-10-22Multires: Remove legacy subdivision codeSergey Sharybin
Is no longer used, fully replaced with more powerful algorithm.
2020-10-22Multires: Cleanup, unused codeSergey Sharybin
2020-10-22Multires: Remove legacy compatibility codeSergey Sharybin
It was rather a huge chunk of code, which started to become more harder to maintain with the transition to OpenSubdiv based implementation. Because of this transition, the compatibility was also rather on a poor side. Remove compatibility support for pre-2.50.9 multires. Ref T77107 Reviewed By: brecht, mont29 Differential Revision: https://developer.blender.org/D9238
2020-10-22Compositor: Ensure keying node result is pre-multipliedSergey Sharybin
Historically the result of the keying node was violating alpha pre-multiplication rules in Blender: it was simply overriding the alpha channel of input. This change makes it so keying node mixes alpha into the input, which solves the following issues: - The result is properly pre-multiplied, no need in separate alpha-convert node anymore. - Allows to more easily stack keying nodes. This usecase was never really investigated, but since previously alpha is always overwritten it was never possible to easily stack nodes. Now it is at something to be tried. Unfortunately, this breaks compatibility with existing files, where alpha-convert node is to be manually removed. From implementation side this is done as a dedicated operation since there was no ready-to-use operation. Maybe in the future it might be replaced with some sort of vector math node. Reviewed By: brecht Differential Revision: https://developer.blender.org/D9211
2020-10-22GPU: Memory leak when scaling buffersJeroen Bakker
`imb_gpu_get_data` could reuse `data_rect` when it was already in used (double alloc). making the first use leak. This was detected after enabling OpenGL Texture Limit. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D9280
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-22Fix T81949: Child Of Constraint can't assign inverse matrixCampbell Barton
Caused by ad70d4b0956f5, assigning the matrix now clears the flag that would reset it.
2020-10-22Cleanup: centralize BLF default functions in the headerCampbell Barton
2020-10-22Cleanup: split BLF default into own fileCampbell Barton
This avoids accidents using user-preferences in the main BLF API, which could cause preferences to be used unintentionally (such as stamping into renders or creating generated images). As well as uses of BLF when preferences aren't loaded such as animation playback.
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-22Fix animation player initializationCampbell Barton
Updates from 9d30fade3ea9b weren't applied to the animation player causing an assert and missing call to IMB_init.