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-02-15Modifiers: Add option to directly specify a 2D transform for UVWarpLukas Stockner
Currently the only option is to warp based on the transform of other objects, which is inconvenient if you want to e.g. control it through a driver - you need to set up a dummy object and go through that, which is clunky and should be unneccessary. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6690
2020-02-13Cleanup: pass const variablesCampbell Barton
2020-02-12Harmless Fix for recent cleanup.Bastien Montagne
For some reason that file did not get included in the commit...
2020-02-12Modifiers: Vertex Weight Modifiers add invert vgroup optionCody Winchester
Adds the invert vgroup mask option to the Vertex Weight modifiers. These 3 modifiers share the same functions so they needed to be modified at the same time. They are all setup the same with the invert vgroup option being added. I had to add a flag to the Mix modifier but the others I use the existing flags. Differential Revision: https://developer.blender.org/D6819
2020-02-12Modifiers: Weld Modifier - simplify invert_vgroup codemano-wii
No functional change
2020-02-12Modifiers: Weld Modifier add invert vgroup optionCody Winchester
Adds the invert vgroup option to the weld modifier. Differential Revision: https://developer.blender.org/D6818
2020-02-12Modifiers: Hook Modifier add invert vgroup optionCody Winchester
Adds the invert group optin to the hook modifier. Differential Revision: https://developer.blender.org/D6817
2020-02-12Modifiers: Fix bug where UVWarp Modifier would try to get bone matrix from a ↵Cody Winchester
non armature object There is a bug where the UVWarp modifier will stop working if an armature bone is set as the Bone To target and then later changed to a non armature object without clearing the Bone To string property. The modifier will still think it is needing a bone matrix and not properly use the object matrix. A simple fix by adding a check for the object being an armature as well as the bonename string being set. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D6809
2020-02-11Fix T56108: Crash editing corrupted vertex groupsCampbell Barton
While the file in this report had corrupted values, this is avoidable without adding any extra overhead. Use unsigned vertex group indices since we don't need negative values, this is an alternative to checking they aren't negative in many places. Vertex group values over INT_MAX is still considered invalid, so any accidental unsigned wrapping won't be silently ignored.
2020-02-11Cleanup: extra semicolons, comma use, undeclared varsCampbell Barton
2020-02-10Cleanup/refactor: Rename `BKE_library` files to `BKE_lib`.Bastien Montagne
Note that `BKE_library.h`/`library.c` were renamed to `BKE_lib_id.h`/`lib_id.c` to avoid having a too generic name here. Part of T72604.
2020-02-07Cleanup: add extern "C"Jacques Lucke
2020-02-07Cleanup: use of 'unsigned'Campbell Barton
- Replace 'unsigned' used on it's own with 'uint'. - Replace 'unsigned const char' with 'const uchar'.
2020-02-07Cleanup: `make format`Dalai Felinto
Dear developers remember to set your coding environment to use clang-format.
2020-02-06Smooth Modifier add invert vgroup optionCody Winchester
Adds the invert vertex group option to the smooth modifier. Setup same way as previous modifiers. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D6745
2020-02-06Curve Modifier add invert vgroup optionCody Winchester
Adds the invert vertex group option to the Curve modifier. Adds a short flag and char pad to the Curve modifier DNA. Passes the flag into the curve_deform_verts function as the weight values are found there and not in the modifiers .c file. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D6746
2020-02-06Lattice Modifier add invert vgroup optionCody Winchester
Adds the invert vertex group option to the Lattice modifier. Adds a short flag and modifies the existing char padding for the correct amount. Adds a .invert_vgroup to the LatticeDeformUserdata. Passes the flag into the lattice_deform_verts function where the weights around found and used. For the other calls of lattice_deform_verts function they pass in NULL for the flag in the same way they pass NULL for the vgroup name. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D6747
2020-02-03Warp Modifier add invert vgroup optionCody Winchester
Adds the invert vertex weights option to the Warp Modifier. Setup in the same way as the other modifiers. Uses the existing flag char that is labeled unused. Differential Revision: https://developer.blender.org/D6720
2020-02-03Displace Modifier add invert vgroup optionCody Winchester
Adds the invert vertex weights option to the Displace modifier. Adds a flag and char padding to the Displace modifier DNA for the invert group boolean. Differential Revision: https://developer.blender.org/D6686
2020-01-29Merge branch 'blender-v2.82-release'Campbell Barton
2020-01-29Fix solidify complex fixed thickness on flipped normal boundaryHenrik Dick
Fixed thickness with zero offset gave uneven results for complex solidify cases (3+ faces sharing an edge). See D6643 for steps to redo the error.
2020-01-28Cleanup: warnings, clang-formatCampbell Barton
2020-01-27Merge branch 'blender-v2.82-release'mano-wii
2020-01-27Fix particle instance modifier generating NaN polygons in some casesMiguel Pozo
Particles that don't exist should not be used, for example due to a density texture. Differential Revision: https://developer.blender.org/D6561
2020-01-27Cast modifier: Add invert vgroup option.Cody Winchester
Adds the Invert Vertex Group weight option to the Cast modifier. Uses the same setup as similar modifiers invert weight. Adds a boolean invert property next to the vertex group string in the modifier and subtracts the current vertex weight from 1.0f if it is turned on. Differential Revision: https://developer.blender.org/D6671 Minor modifications by @mont29.
2020-01-21Fix numerical instabilities of solidify with complex constraintsHenrik Dick
Sometimes on flat open vertices the thickness would suddenly start to be jumping in powers of 2, also when bending a plane there is a noticeable jump in the geometry. When offset is set to -1 or 1 weird glitches happen. See D6559 for test cases that failed.
2020-01-21Fix numerical instabilities of solidify with complex constraintsHenrik Dick
Sometimes on flat open vertices the thickness would suddenly start to be jumping in powers of 2, also when bending a plane there is a noticeable jump in the geometry. When offset is set to -1 or 1 weird glitches happen. See D6559 for test cases that failed.
2020-01-21Fix T62882: Make Dynamic Paint update weights in viewportNico Zevallos
Related to T62882 When the SupportsMapping modifier flag was added to the dynamic paint modifier it was added commented out. It may have not worked back then, but it seems to work fine now. MOD_weightvgedit.c was already updated similarly. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6072
2020-01-18Weld Modifier: Reduce size of the leaf nodes to halfmano-wii
This improves performance by reducing the amount of false positives. A self overlap is made, so the distance from the vertices in the overlap nodes is actually added.
2020-01-16Fix (unreported) surface deform modifier not reporting its errors in thePhilipp Oeser
UI Seems like we need to set the error with the evaluated ModifierData. Pass this to 'surfacedeformBind' and report with that. Differential Revision: https://developer.blender.org/D6601
2020-01-15Fix T68489: Shrinkwrap modifier with project not working for curvesPhilipp Oeser
rB4cde92303f3d made a MESH-only check (but that is no longer mandatory since the Mesh is fetched by MOD_deform_mesh_eval_get instead of ctx- >object->data now...). This would fail for projecting beveled curves (resulting mesh missing), now also get the mesh for curves if we use MOD_SHRINKWRAP_PROJECT (and only then). Maniphest Tasks: T68489 Differential Revision: https://developer.blender.org/D6548
2019-12-30Fix T72792: Crash with Vertex Groups + Weld Modifier after generative modifiersmano-wii
Some generative modifiers remove the `CD_MDEFORMVERT` custom layer. So make sure it exists in the mesh.
2019-12-17Cleanup: renaming guiding -> guideCampbell Barton
The term guide makes sense on it's own in this context.
2019-12-17Cleanup: conform header guards to Blender's styleCampbell Barton
2019-12-17Cleanup: sort file listsCampbell Barton
2019-12-17Cleanup: use BKE_fluid prefix for fluid APICampbell Barton
2019-12-17Fix linking errors WITH_MOD_FLUID=OFFCampbell Barton
2019-12-16Mantaflow [Part 6]: Updates in /blender/sourceSebastián Barschkis
A collection of smaller changes that are required in the /blender/source files. A lot of them are also due to variable renaming. Reviewed By: sergey Maniphest Tasks: T59995 Differential Revision: https://developer.blender.org/D3855
2019-12-14Fix T72412: Weld Modifier: Merged edges not displayed in wireframemano-wii
2019-12-12Cleanup: Rename variables (_tot -> _len)mano-wii
2019-12-12Fix T72380: New Weld Modifier is crashing when used after a Vertex Weight ↵mano-wii
Modifier It happened when the vertex group was empty.
2019-12-12Modifier: New Weld Modifiermano-wii
Part of T70240 This is the initial implementation of Weld Modifier. New features will be added later. ToDo: - Seams: restrict welding to vertices along boundary edges. - Edge Collapse: collapse edges below the length threshold. - New icon. - Some customdata are not being correctly interpolated. Differential Revision: https://developer.blender.org/D6383
2019-11-25Bevel Modifier: Reset default width to 0.1 from 1.0Hans Goudey
2019-11-24Cleanup: doxygen commentsCampbell Barton
Also correct some outdated symbol references, add missing 'name' commands.
2019-11-22Cleanup: rename mirror -> mesh_mirrorCampbell Barton
The term mirror on it's own is too ambiguous, use BKE_mesh prefix.
2019-11-21Fix T71412: Add transform component to deforming modifierPhilipp Oeser
Dynamically bound mesh deform modifiers failed to update the viewport on object transformation of deformer. The TODO by Sergey, which suggested adding the transform component to the depsgraph, was already there, and worked to fix T71412.
2019-11-21Bevel: Custom Profile and CurveProfile WidgetHans Goudey
Custom profiles in bevel allows the profile curve to be controlled by manually placed control points. Orientation is regularized along groups of edges, and the 'pipe case' is updated. This commit includes many updates to comments and changed variable names as well. A 'cutoff' vertex mesh method is added to bevel in addition to the existing grid fill option for replacing vertices. The UI of the bevel modifier and tool are updated and unified. Also, a 'CurveProfile' widget is added to BKE for defining the profile in the interface, which may be useful in other situations. Many thanks to Howard, my mentor for this GSoC project. Reviewers: howardt, campbellbarton Differential Revision: https://developer.blender.org/D5516
2019-11-05Merge branch 'blender-v2.81-release'Sergey Sharybin
2019-11-05Fix T71259: Array Modifier Performance is slowSergey Sharybin
Was happening when object transform is animated. Caused by overly aggressive dependency construction introduced a while back in 9d4129eee649: we shouldn't add dependencies unless we really need them. This change removes unneeded transform dependency for cap objects (since only their geometry is used), and also removes own transform dependency if there is no offset object (which is the only case when own transform is needed). Differential Revision: https://developer.blender.org/D6184
2019-11-04Solidify Modifier: support non-manifold inputHenrik Dick
This adds a new mode to solidify to support non-manifold geometry with edges using 3 or more faces as input, resulting in a manifold mesh. Since the differences between these methods don't translate well into short terms, they're named "Simple" and "Complex" in the UI. This also adds clamp with respect to angles to the existing solidify modifier calculation.