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
2020-06-10Fix T77632: Deform modifier auto-binding not workingCampbell Barton
Regression in deaff945d0b96
2020-06-09Fix missing animation decorators for pointer buttonsJulian Eisel
Also, remove manually placed decorator for vertex groups in modifiers. This was only needed because of this bug, and the layout was slightly misaligned.
2020-06-09BLI: rename ArrayRef to SpanJacques Lucke
This also renames `MutableArrayRef` to `MutableSpan`. The name "Span" works better, because `std::span` will provide similar functionality in C++20. Furthermore, a shorter, more concise name for a common data structure is nice.
2020-06-09BLI: put C++ data structures in "blender" namespace instead of "BLI"Jacques Lucke
We plan to use the "blender" namespace in other modules as well.
2020-06-08Simulations: initial simulation state and cacheJacques Lucke
The current particle state is stored in a `CustomData` instance and the cache is stored in `PointCache`. The current state exists on the copy-on-write copies of the simulation, while the cache only exists in the original data block. This patch implements a temporary trivial particle simulation that does not use the node system yet. It is used for testing and will be replaced soon. `PointCache` still has some limitations that need to be overcome using separate refactorings. For example, we need to be able to store the number of particles in the point cache. Also we need to change which attributes are stored for a particle system more dynamically than is currently possible afaik. Reviewers: brecht Differential Revision: https://developer.blender.org/D7836
2020-06-08Revert "UI: Bevel: Show Offset type before offset amount"Aaron Carlisle
This reverts commit f50222ba2e3e4aa461c23b4f0b3f3382a9e0632c.
2020-06-08Modifiers: fix copy paste mistake in recent refactorJacques Lucke
2020-06-08UI: Fix Wrong UI Label after recent modifier changesAaron Carlisle
2020-06-08UI: Bevel: Show Offset type before offset amountAaron Carlisle
Because this controls how the amount is used in should be set first and is more important therefor place it at the top. This is also consistent with other areas in Blender
2020-06-08UI: Modifiers: Use Falloff subpanel for Weight ProximityAaron Carlisle
This makes the UI consitent with the weight edit modifier
2020-06-08UI: Use Proper Title CaseAaron Carlisle
2020-06-07Fix T77487: Only disable Multires Buttons in Edit ModeHans Goudey
Previously the operator buttons were disabled in every mode but edit mode and sculpt mode.
2020-06-05UI: Apply Latest Changes to Multires ModifierHans Goudey
These changes didn't make it through the transition to the new UI layout. - Add "has_displacement" check - Add "sculpt_levels" property - Give subdivide operators the operator name so they work
2020-06-05UI: Drag and Drop Modifiers, Layout UpdatesHans Goudey
This patch implements the list panel system D7490 for modifiers. It also moves modifier drawing to a callback in ModifierTypeInfo in line with the extensible architecture refactoring goal T75724. This adds a PanelRegister callback and utilities for registering panels and subpanels. It also adds the callbacks for expansion saving and drag and drop reordering described in D7490. These utilities, callbacks, and other common UI elements shared between modifiers live in MOD_ui_common.c. Because modifier buttons are now in panels, we can make use of subpanels for organization. The UI layouts also use the single column layout style consistently used elsewhere in Blender. Additionally, the mode-setting buttons are aligned and ordered consistently with the outliner. However, the large number of UI changes in this patch may mean that additional polishing is required in master. Thanks to William Reynish (@billreynish) who did a fair amount of the layout work and to Julian Eisel (@Severin) for consistent help. Differential Revision: https://developer.blender.org/D7498
2020-06-02Fix T66967: skin modifier crash scaling skin radius to zeroCampbell Barton
2020-06-02BVHCache: PerformanceJeroen Bakker
This patch changes the BVHCache implementation. It will use a primitive array in stead of the ListBase. The locking is also changed from a global lock to a per cache instance lock. The performance of `gabby.blend` available on the cloud increased from 9.7 fps to 10.5 fps. Reviewed By: Brecht van Lommel Differential Revision: https://developer.blender.org/D7817
2020-05-29Modifiers: add invert vgroup weights options to operands of Mix modifier.D. O
Please note that vertices which are in a vgroup are not affected by this option (which means that affected vertices from 'selection' modes remain the same). Only the weights of selected vertices get inverted. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D7811
2020-05-26Modifiers: Add normalize weights option to vertex weight modifiersCody Winchester
Original patch by Cody Winchester (@CodyWinch), several fixes and cleanup by Bastien Montagne (@mont29). Differential revision: https://developer.blender.org/D7656
2020-05-25Mesh: skip conversion from edit-mesh to mesh in edit-modeCampbell Barton
This resolves a performance regression in 2.8x where every edit-mode update performed an edit-mesh to mesh conversion. Now the conversion will be lazily initialized if/when it's required. New BKE_mesh_wrapper_* functions abstract over mesh data access. Currently only edit-mesh and regular meshes are supported. In the future sub-surface meshes may be supported too.
2020-05-25Cleanup: typoJacques Lucke
2020-05-19Merge branch 'blender-v2.83-release'Philipp Oeser
2020-05-19Fix T72729: Mask Modifier Loose Edges Not ShownJeroen Bakker
When using the mask modifier loose edges could be added to the mesh. These edges weren't marked as loose edges and wasn't picked up by other areas of blender. This fix recalculates the loose edges so they have the correct flag `ME_LOOSE_EDGE`. Reviewed By: Sybren Stüvel Differential Revision: https://developer.blender.org/D7766
2020-05-14Fix T76553: Blender Freezes When Playing Back AnimationJeroen Bakker
In some cases blender could freeze. When threads are blocked (waiting for other tasks completion) the scheduler can let the thread perform a different task. If this task wants a write-lock for something that was read-locked in the stack a dead lock will happen. For task pools every task is isolated. For range tasks the inner loop will be isolated. The implementation is limited as isolation in TBB uses functors which are tricky to add to a C API. We decided to start with a simple and adapt were we need to. During testing we came to this setup as it was reliable (we weren't able to let it freeze or crash) and didn't had noticeable performance impact. Reviewed By: Brecht van Lommel Differential Revision: https://developer.blender.org/D7688
2020-05-14Fluid: Rename smoke flow forces to fluid flow forcesSebastián Barschkis
Better to use more general term since in theory these forces can be used for smoke and liquid.
2020-05-13Simulation: Add modifier to access simulation dataJacques Lucke
For now the "Simulation" modifier only exists for point cloud objects, because we need this for the particle system. Right now, the modifier is doing nothing. There is a new `DEG_add_simulation_relation` function that is used by the modifier to make sure that the simulation is evaluated before the modifier is executed. Reviewers: brecht, sergey Differential Revision: https://developer.blender.org/D7549
2020-05-09Cleanup: double-spaces in commentsCampbell Barton
2020-05-08Cleanup: clang-formatCampbell Barton
2020-05-08Fix T76498: Refactoring - Rename BKE modifiers funtionsAntonio Vazquez
2020-05-01Merge branch 'blender-v2.83-release'Bastien Montagne
2020-05-01Cleanup: Solidify modifier: Remove unneccessary error message.Demeter Dzadik
For any modifier, the expected output when the input mesh is empty, is an empty mesh. So this error message was useless, and could spam the console in some usecases of the modifier stack... Reviewed By: weasel, mont29 Differential Revision: https://developer.blender.org/D7571
2020-04-28UI: Improve DataTransfer Modifier Error MessageHans Goudey
Differential Revision: https://developer.blender.org/D7546
2020-04-23Merge branch 'blender-v2.83-release'Bastien Montagne
2020-04-23Array modifier: limit maximum amount of generated geometry.Bastien Montagne
Fixes T75278: Crash when modifier "Array-Fit Curve-Relative Offset" nears zero.
2020-04-22Objects: add infrastructure for hair, pointcloud, volume modifiersBrecht Van Lommel
There is no user visible difference in standard builds, as there are no volume modifiers yet. When using WITH_NEW_OBJECT_TYPES some deform only modifiers are now available for hair and pointcloud objects. Differential Revision: https://developer.blender.org/D7141
2020-04-21BLI: simplify naming of listbase wrapperJacques Lucke
2020-04-21BLI: Use .hh extension for C++ headers in blenlibJacques Lucke
2020-04-20Merge branch 'blender-v2.83-release'Philipp Oeser
2020-04-20Fix T75885: Mesh deform modifier not updating on own transformsPhilipp Oeser
Added the missing relation. Maniphest Tasks: T75885 Differential Revision: https://developer.blender.org/D7473
2020-04-20Fix T75840: Add check for not generated edgesHenrik Dick
The value of `new_edge` is `SOLIDIFY_EMPTY_TAG=2^32-1` if the edge is not generated. The code from D7334 was missing this check. Reviewed By: mont29 Maniphest Tasks: T75840 Differential Revision: https://developer.blender.org/D7463
2020-04-20Cleanup: redundant parenthesis, NULL checksCampbell Barton
2020-04-15Fix mistake from last commit to solidify.Henrik Dick
While review the behaviour was changed accidentally. Now Solidify just crashes everytime. This is the fix for that. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D7434
2020-04-15Fix crash whith Simple Solidify and Bevel Convex.Henrik Dick
After recent changes, simple solidify modifier would crash with Fill Rim turned off and Bevel Convex emabled. Also fixes that simple solidify would not set the bevel weight flag so the next modifier could use the bevel weights. Simple cleanup with do_rim is also included. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D7428
2020-04-14Add Complex Solidify option for thickness per faceHenrik Dick
Add an option to solidify complex which will make faces which have thickness controlled by vertex weights flat/even, and parallel to their original face. For each face it uses the minimal weight assigned to its vertices to control the thickness. This will help users for example in architecture or basic CAD design by finally making solidify work there at all if altering thickness is needed. Differential Revision: https://developer.blender.org/D7340 Reviewed and minor cleanups by Batien Montagne (@mont29).
2020-04-14Improve Solidify/Bevel Modifier cooperationHenrik Dick
Adds a slider to solidify which allows the user to add bevel weight on the outside or remove bevel weight from the inside. Also includes a very small improvment for working with subsurface modifier where the rim edge in complex solidify will now also have a chance to get a crease if there is only two adjacent edges. Differential Revision: https://developer.blender.org/D7334 Reviewing and minor cleanups: Bastien Montagne (@mont29).
2020-04-13Fix T75032: New complex solidify algorithm handles poorly merging threshold ↵Henrik Dick
of small geometry details. * Implemented the algortihm that would merge vertices to the weighted center between them. * Exposed the merge threshold to the user. The new default tolerance is 0.0001 (versionning code ensures that previous default value remains in use to avoid any change in existing files). Review and minor changes/cleanups from Bastien Montagne (@mont29).
2020-04-11Sanitize and cleanup a bit depsgraph relations building in some modifiers.Bastien Montagne
This commit mainly: * Removes some uneeded dependencies to geometry of other objects (since we only use positions of those objects...). * Ensures `DEG_add_modifier_to_transform_relation` is only called once per modifier (in one case at least it could be called twice). * For modifiers using texture mask, only add dependencies to object used to generate texture coordinates when there is actually a texture set. No behavior change expected from this commit...
2020-04-11Factorize some common modifiers depsgraph relation update code.Bastien Montagne
Add a utility to deal with common 'object or posebone transform' case.
2020-04-10Modifiers: Add Bone option for Texture Mask ObjectCody Winchester
This patch adds the option to use an armature bone in place of an object for texture mask coordinates. This affects the 3 vertex weight modifiers, the displace modifier, the warp modifier, and the wave modifier. With minor changes from Bastien Montagne (@mont29). Differential Revision: https://developer.blender.org/D7348
2020-04-03fix (unreported): Weld Modifier: possible use of uninitialized variableGermano Cavalcante
2020-04-03Code Quality: Replace for loops with LISTBASE_FOREACHDalai Felinto
Note this only changes cases where the variable was declared inside the for loop. To handle it outside as well is a different challenge. Differential Revision: https://developer.blender.org/D7320