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-07-15Fluid: Adjusted Mantaflow version numberSebastián Barschkis
Version number was increased after recent OpenVDB IO changes.
2020-07-15Particles: use CD_PROP_FLOAT3 instead of CD_LOCATIONJacques Lucke
`CD_LOCATION` was only used temporarily due to the lack of a better alternative. This also removes the name from `CD_LOCATION` again, because at most one layer of this type should exist.
2020-07-15CustomData: add float2 and float3 data typesJacques Lucke
This adds `CD_PROP_FLOAT2` and `CD_PROP_FLOAT3`. Reviewers: brecht Differential Revision: https://developer.blender.org/D8251
2020-07-15Fix T78747: Fix mesh boundary detection and automaskingPablo Dobarro
This issue was produced by a hack in the sculpt mode code from 2.80 when the sculpt API for connectivity info was not available. The smooth brush was the only brush that needed connectivity info, so there were 3 different smooth functions with the connectivity queries implemented for dyntopo, meshes and grids. The mesh version of smoothing was checking the number of connected faces to a vertex to mask the mesh boundaries, which was not covering all cases and was hardcoded in the smooth function itself. This patch removes all those legacy functions and unifies all smooth functions into a single one using the new API and the automasking system. In order to achieve this, there were needed some extra changes: - The smooth brush now does not automasks the boundaries by default, so its default preset needs to be updated to enable automasking - The mesh boundary info is extracted once and cached in a bitmap, similar to the disconnected elements IDs. This makes boundary detection work as expected in all cases, solving a lot of known issues with the smooth brush. In multires, this info is extracted and cached only at the base mesh level, so it is much more memory efficient than the previous automasking system. - In order to keep the brushes responsive as they were before, the automasking system can now skip creating the cache when it is not needed for the requested options. This means that for high poly meshes and simple automasking options the brushes won't lag on start. Reviewed By: sergey Maniphest Tasks: T78747 Differential Revision: https://developer.blender.org/D8260
2020-07-15Fix T77417: Topology Automasking not working with individual verticesPablo Dobarro
The flood fill operation was setting the mask using to_v, so in the first iteration when the floodfill callback was using the active vertex as from_v and any other neighbor as to_v, the mask for the active vertex was never set. Now the mask is set using from_v and it checks if it should continue propagating to the next neighbor using to_v. Reviewed By: sergey Maniphest Tasks: T77417 Differential Revision: https://developer.blender.org/D8294
2020-07-15UV: support region fill for path selectCampbell Barton
This matches edit-mesh region selection (Ctrl-Shift-Select).
2020-07-15Cleanup: Replace 0 with False for boolean argumentHans Goudey
2020-07-15Clang-Tidy: ignore some newer checksJacques Lucke
Those checks have been added to clang tidy within the last year. They fail when I use a clang tidy version I built from source. Reviewers: sergey Differential Revision: https://developer.blender.org/D8302
2020-07-15Fix T68845: Follow Active Quads, divide by zero errorCampbell Barton
2020-07-15Fix T78930: Cycles OpenCL error on graphics cards that don't support half floatBrecht Van Lommel
2020-07-15Revert "Cleanup: simplify Weld Modifier logic"Germano Cavalcante
This reverts commit 98b1a716d65f187a2499eba2475e4d456f8ed107. That commit broke a few modifiers.py tests (Screw+Weld and a weld merge threshold). And some pairs may be lost in the first loop.
2020-07-15Fix T76690: Incorrect liquid particle count displayedJacques Lucke
Reviewers: sergey, sebbas Differential Revision: https://developer.blender.org/D7852
2020-07-15GPencil: Fix name typo errorAntonio Vazquez
2020-07-15Add missing NULL assignment to D8293Sebastian Parborg
Missed reseting "next_td" in that patch. Shouldn't have caused any issues in practice, but it is nice to be extra clear and safe in the code.
2020-07-15Fix T78909: Curve-edit proportional connected-only brokenSebastian Parborg
Now it calculates the actual distance when traveling along the curve. I addition to this, it also now supports cyclic curves. Reviewed By: Campbell Differential Revision: http://developer.blender.org/D8293
2020-07-15Fix signed/unsigned comparisonJacques Lucke
2020-07-15LibOverride: rework 'make override' 3DView operator.Bastien Montagne
Removed the 'select main object to override' menu when overriding an instanced collection, this was no more used anyway. Added new behavior allowing to select which directly linked collection to override when trying to override an inderctly linked object. This allows to link collections without instancing them with an empty object, select one of their objects, and call override operator.
2020-07-15Cleanup: remove assignment from a NULL structCampbell Barton
Quiet ASAN 'member access within null pointer' warning. While this doesn't crash, access to 'shading' without checking if the 'v3d' would have.
2020-07-15UI: Add manifold extrude to extrude menuLiam Scaife
2020-07-15Cleanup: spellingCampbell Barton
2020-07-15Revert "Cleanup: remove public unused function."Campbell Barton
This reverts commit 03c8b048a166584a72ceff08432401cd7047648c. This commit re-introduced T76837. While there is a comment explaining why this function is needed, the naming of the poll function does make this confusing. The API could be changed to avoid confusion here.
2020-07-14Fix T78875: Numerical display of delta of translation is not updating in 3d viewGermano Cavalcante
2020-07-14Fluid: Fix liquid mesh scalingSebastián Barschkis
Fixes issue with .bobj.gz and .obj mesh files not always being scaled correctly in the viewport.
2020-07-14Fluid: Updated Mantaflow source filesSebastián Barschkis
New files include fixes for obj mesh import and minor cleanups.
2020-07-14Cleanup: simplify Weld Modifier logicGermano Cavalcante
The original code to rearrange the weld vertices map was confusing. It traverses the overlap result multiple times within a loop. This part of the code has therefore been rethought, simplified and commented. This also results in a slight improvement in the performance of the modifier.
2020-07-14Fix T77263: Mantaflow: Cache gets deleted at changing upres factor under ↵Sebastián Barschkis
Particles section. Moved fluid simulation reset to separate functions based on type.
2020-07-14Fix T78704: RenderPass normals disapear when view isn't updatedJeroen Bakker
When the view isn't updated the renderpass thought that it was rendering the next sample, skipping the conversion from encoded to blender normals. This patch resets the current sample when only rendering single sample layers. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D8280
2020-07-14Fix T78431: Update mesh_cd_layers_type_ to support 8 bytes.Jeroen Bakker
Sculpt vertex colors changed the `DRW_MeshCDMask` from 4 bytes to 8 bytes, but the functions assumed it still was 4 bytes. This patch updates the functions and adds a compile time check. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D8215
2020-07-14Fix T78880: UV Editor - Match prop edit connected behavior with mesh editing ↵Sebastian Parborg
and fix Rip Region double proportional checkbox This fixes the double prop edit checkbox in the redo menu. This also makes it so that proportional edit in connected mode now matches how it behaves in mesh edit mode. Without this change, ripping in UV edit mode with proportional edit on would be useless as the UV verts you ripped will still be stuck together even if they were not connected anymore. Reviewed By: Campbell Differential Revision: http://developer.blender.org/D8289
2020-07-14Fluid: Fix missing flag update for cacheSebastián Barschkis
These flags need to be set correctly in order to distinguish between data that comes from cache files and raw data that comes directly from pointers to the data in Mantaflow.
2020-07-14LibOverride: fix for removing `use_override_library` in rB3d587efef2872.Bastien Montagne
Thanks to @JacquesLucke for the heads up.
2020-07-14Gpencil: Simplify modifier sample mode minimal vert count fix.Antonio Vazquez
For this mode is possible use strokes of 2 points. Differential revision: https://developer.blender.org/D8138
2020-07-14Cleanup: function name not following its module conventions.Bastien Montagne
2020-07-14BLI: remove static assert noexcept move constructorsJacques Lucke
The move constructor of `mpq_class` from GMP currently allocates when it is moved. So, it cannot be noexcept. Since we want to use this type, this static assert cannot stay there.
2020-07-14Fluid bake: fix memory leak when path validation failsKévin Dietrich
Reviewed By: sebbas Differential Revision: https://developer.blender.org/D8284
2020-07-14Cleanup: remove tab indentionCampbell Barton
2020-07-14PyAPI: support element multiplication for vector, matrix, quaternionsCampbell Barton
This was disabled during 2.8x for smooth porting of 2.7x scripts, Now '@' is used for matrix multiplication, support '*' to multiple vector elements. See T56276.
2020-07-14LibOverride: Outliner: Add an operation to override the selected ID and its ↵Bastien Montagne
parents. This will override all linked data-blocks in the tree branch leading to the selected one.
2020-07-14LibOverride: Move code tagging reauired dependencies of an override into BKE.Bastien Montagne
This is fairly generic code that can be re-used in other places.
2020-07-14Fix T78900: Single vertex sliding crashesGermano Cavalcante
As we can see in `initVertSlide_ex`, `sld` can be `NULL`. `sld` is dereferenced, but can still be `NULL`.
2020-07-14Fix T77766: support animated global gravity toggleJacques Lucke
Reviewers: sebbas Differential Revision: https://developer.blender.org/D8281
2020-07-14Cleanup: typoJacques Lucke
2020-07-14Fix wrong vector size functions used in knife toolSergey Sharybin
Should not use copy_v3_v3 on a 2 element vectors.
2020-07-14GPencil: Cleanup Build modifier and fix potential div by zero errorsAntonio Vazquez
2020-07-14Cleanup: sort header, cmake pathsCampbell Barton
2020-07-14Fix T78883: New bezier curve points to uninitialized memoryCampbell Barton
2020-07-14Cleanup: spellingCampbell Barton
2020-07-14Fix T78902: Only check main modifier panel for expansion propertyHans Goudey
Internally the "show_expanded" property stores the expansion for every subpanel, but for RNA we should only check the first bit of the flag that corresponds to the main panel.
2020-07-14UI: Add missing row in curve profile templateHans Goudey
2020-07-13Cleanup: remove unnecessary memberGermano Cavalcante
`Kfv-> sco` was being treated as a local variable, and can be confusing since this value is not updated when navigating the viewport.