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-04-27Geometry Nodes: improve geometry nodes evaluator internal apiJacques Lucke
This is a first step towards T87620. It should not have any functional changes. Goals of this refactor: * Move the evaluator out of `MOD_nodes.cc`. That makes it easier to improve it in isolation. * Extract core input/out parameter management out of `GeoNodeExecParams`. Managing this is the responsibility of the evaluator. This separation of concerns will be useful once we have lazy evaluation of certain inputs/outputs. Differential Revision: https://developer.blender.org/D11085
2021-04-27Geometry Nodes: initial Attribute Transfer nodeJacques Lucke
This is a first version of an Attribute Transfer node. It only supports two modes for mapping attributes from one geometry to another for now. More options are planned for the future. Ref T87421. Differential Revision: https://developer.blender.org/D11037
2021-04-27Merge branch 'blender-v2.93-release'Jacques Lucke
2021-04-27Fix T85889: recursive instances result in crashJacques Lucke
Generally, it would be good to not allow this from happening in the first place but that is quite tricky because an object does not know which other object instances it. Similar checks might be necessary in other places, but this fixes the bug already. Differential Revision: https://developer.blender.org/D11086
2021-04-27Merge branch 'blender-v2.93-release'Hans Goudey
2021-04-27Fix T87749: Fix text jitter in buttons with iconsHans Goudey
This patch fixes the remaining issues described in T87749. The jitter was caused by inconsistent rounding when using the floats icon_size and icon_padding to offset the bound for the text drawing. Using `round_fl_to_int` leads to consistent results and fixes the jitter that remained in some buttons with icons, UI lists, and breadcrumbs. Differential Revision: https://developer.blender.org/D11062
2021-04-27Cleanup: Make function staticHans Goudey
2021-04-27Merge branch 'blender-v2.93-release'Hans Goudey
2021-04-27Fix T87401: Drop-down can apply the wrong modifierHans Goudey
The trouble was that there was a context pointer "modifier" in the property editor context that returned the active modifier. But the "modifier" variable was already used in many places, for pointers that are *not* equivalent to the active modifier. The context pointer for the active modifier was unecessary anyway. If we need to access a context pointer for the active modifier in the property editor then we can add it. Until then it only adds confusion.
2021-04-27Merge branch 'blender-v2.93-release'Aaron Carlisle
2021-04-27Update RNA/User Manual MappingsAaron Carlisle
2021-04-27Cleanup: Fix unused variable warning in lite buildHans Goudey
2021-04-27Merge branch 'blender-v2.93-release'Hans Goudey
2021-04-27Fix T87702: Cannot generate one point with line node in end points modeHans Goudey
Counts of less than one weren't allowed in end points mode mostly to avoid a division by zero when calculating the delta. It's trivial to allow a count of one, so this commit does that, with the point placed at the start location.
2021-04-26Cleanup: Move displist.cc to C++Hans Goudey
This is a change split from the geometry nodes curves branch. Since curve object modifier evaluation happens in this file, moving it to C++ will be quite helpful to support the `GeometrySet` type. Other than that, the code in the branch intends to replace a fair amount of this file anyway, so I don't plan to do any further cleanup here. Differential Revision: https://developer.blender.org/D11078
2021-04-26Cleanup: Replace modifyVolume with modifyGeometrySetHans Goudey
This allows us to remove a callback from the modifier type info struct. In the future the these modifiers might just be replaced by nodes internally anyway, but in the meantime it's nice to unify the handling of evaluated geometry a bit. Differential Revision: https://developer.blender.org/D11080
2021-04-26Fix T87842: Outliner in `Blender File` mode has large performance impactJulian Eisel
The Outliner was doing a full rebuild of its tree in response to transform notifiers. I don't see any reason for this, a simple redraw without rebuilding should be just fine. The same optimization could be done for other object notifiers, but I'll check on them separately.
2021-04-26Merge branch 'blender-v2.93-release'Jacques Lucke
2021-04-26Fix: crash after recent commitJacques Lucke
This was a mistake in rBb67fe05d4bea2d3c9efbd127e9d9dc3a897e89e6.
2021-04-26Merge branch 'blender-v2.93-release'Philipp Oeser
2021-04-26Fix T87771: Immediate Crash on "Edit Source" in CompositorPhilipp Oeser
Caused by {rB278011e44d43}. Framebuffer management since above commit now seems to require region bind/unbind in for the operator to be able to redraw correctly without using the same framebuffer in multiple contexts. Maniphest Tasks: T87771 Differential Revision: https://developer.blender.org/D11084
2021-04-26LineArt: UI fixes to match the content for 2.93 manual.YimingWu
Reviewed by: Sebastian Parborg Differential Revision: https://developer.blender.org/D11089
2021-04-26Merge branch 'blender-v2.93-release'Jacques Lucke
2021-04-26Depsgraph: support depending on collection geometryJacques Lucke
This fixes T87666 and T83252. The boolean modifier and geometry nodes can depend on the geometry of an entire collection. Before, the modifiers had to manually create relations to all the objects in the collection. This worked for the most part, but was cumbersome and did not solve all issues. For example, the modifiers were not properly updated when objects were added/removed from the referenced collection. This commit introduces the concept of "collection geometry" in the depsgraph. The geometry of a collection depends on the transforms and geometry of all the objects in it. The boolean modifier and geometry nodes can now just depend on the collection geometry instead of creating all the dependencies themselves. Differential Revision: https://developer.blender.org/D11053
2021-04-26Cleanup: spellingCampbell Barton
2021-04-26Cleanup: compiler warningCampbell Barton
2021-04-26Cleanup: remove use of deprecated uint32, utin16 typesCampbell Barton
2021-04-26Cycles: Fix build with OptiX 7.3 SDKPatrick Mours
2021-04-26Cleanup: Rearrange the functions in 'transform_convert_mesh.c'Germano Cavalcante
The creation of `TransCustomData` is best located at the beginning of the file as it is a specific struct of the file and can be used a lot locally.
2021-04-26DeprecationWarning fixErik Abrahamsson
This gets rid of a `DeprecationWarning` in bpy_types.py caused by invalid escape sequences. More info here: https://docs.python.org/3/library/re.html Reviewed By: mont29 Differential Revision: https://developer.blender.org/D10998
2021-04-26Merge branch 'blender-v2.93-release'Jacques Lucke
2021-04-26Spreadsheet: combine vector/color spreadsheet columnsJacques Lucke
Differential Revision: https://developer.blender.org/D11056
2021-04-26Remove print during compilation.Jeroen Bakker
2021-04-26Cleanup: inconsistent naming for screen editing variables & argsCampbell Barton
2021-04-26Merge branch 'blender-v2.93-release'Hans Goudey
2021-04-26Fix (unreported): Geometry nodes instance ids not copied or clearedHans Goudey
Though to my knowledge we haven't had a report about this yet, this looks like a clear oversight-- the ids are just more data stored by the instances component, and should be cleared and copied like other data. This might have resulted in incorrect random IDs for instances in renderers in some cases where the component had to be copied.
2021-04-26Fix T87777: Fix typo in Prefs Scripts Dir tooltipPratik Borhade
Correction to Prefs tooltip mention of 'add-ons' folder in Scripts Dir. Differential Revision: https://developer.blender.org/D11064 Reviewed by Harley Acheson
2021-04-26UI: Adding Constraint to the Area Join OperationsHarley Acheson
Removing mid-operation area re-targeting for safety and predictability. Differential Revision: https://developer.blender.org/D11066 Reviewed by Campbell Barton
2021-04-26Fix T87170 Multi-Input socket activation zone error with lots of inputsFabian Schempp
Calculation of bounding rect for multi-input socket was wrong. Reviewer: Hans Goudey (HooglyBoogly) Differential Revision: https://developer.blender.org/D11077
2021-04-26Fix T87170 Multi-Input socket activation zone error with lots of inputsFabian Schempp
Calculation of bounding rect for multi-input socket was wrong. Reviewer: Hans Goudey (HooglyBoogly) Differential Revision: https://developer.blender.org/D11077
2021-04-25BLI: Add "first" method to MutableSpan and VectorHans Goudey
This is convenient because having a uniform interface is nice, and because of the similarity to "last". Differential Revision: https://developer.blender.org/D11076
2021-04-25Merge branch 'blender-v2.93-release'Antonio Vazquez
2021-04-25Fix unreported "Convert Mesh to Gpencil" when fill material already existsErik Abrahamsson
If an object named for example `Suzanne` is converted to Gpencil, a material called `Suzanne_Fill` will be created for the gpencil fill. When this material already exists, the new material will be called `Suzanne_Fill.001` and the operator will not see that this material is already present the next iteration. This leads to a new material being created for every polygon. This commit changes the code to search for a material starting with `ObjectName_Fill` instead of being equal to. Reviewed By: filedescriptor, antoniov Differential Revision: https://developer.blender.org/D11067
2021-04-25Fix T87799: Crash when switching to Info EditorGermano Cavalcantemano-wii
Use of uninitialized variable. Problem introduced in 87a70801c6a9fe5077ca882dec820a8f24deb07e.
2021-04-25Fix build issue due to previous commitRay Molenkamp
Revert in rB05dddb71b098 did a poor job and left some rubbish.
2021-04-25Revert "Info Editor: move to c++"Ray Molenkamp
This reverts commit 9cce18a5858cb93da626f5f0fd7e09cd66637e05. rB9cce18a5858c broke the build in unforeseen ways, not easily fixable. revert for now, so master will at least build again.
2021-04-24Fix windows build: Don't use designated initializers in C++Hans Goudey
Removes a cast in an argument followed by an initializer list, and designated initializers, which are only part of the C++20 standard.
2021-04-24Fix T87682 Boolean Exact crash.Howard Trickey
The triangulator I made (using CDT) doesn't work if the face self-intersects. Fall back to the polyfill triangulator when that happens.
2021-04-24Fix T87682 Boolean Exact crash.Howard Trickey
The triangulator I made (using CDT) doesn't work if the face self-intersects. Fall back to the polyfill triangulator when that happens.
2021-04-24Info Editor: move to c++Jacques Lucke
I'm currently doing some experiments in the info editor and for that it is easier if the info editor is in c++ already.