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-16Merge branch 'master' into mac_arm64mac_arm64Stefan Werner
2020-07-16macOS: Support arm64 architecture.Stefan Werner
Enabling all `make deps` dependencies with the exception of Embree and OIDN. After that, Blender can be compiled on an Apple Silicon Mac just like on any Intel based Mac. There are still compiler warnings that need to be investigated and there are probably a couple of bug still to be discovered and to be fixed. Most patches to the dependencies are simple and are about disabling SSE and setting the proper architecture to compiile for. Notable exception is Python, where I back ported a yet to be accepted PR for upstream Python: https://github.com/python/cpython/pull/21249 Cross compiling or buliding a Universal Binary is not supported yet. The minimum macOS target version for x86_64 remains at 10.13, the target for arm64 is 11.00. Differential Revision: https://developer.blender.org/D8236
2020-07-16UI: avoid aligning labels for ui_item_with_labelCampbell Barton
Key-map display was doing thousands of redundant alignment operations. Set the spacing instead as align was only set to use zero spacing. This would have prevented the crash reported by T78636.
2020-07-16Fix T78636: Crash displaying many aligned buttonsCampbell Barton
Displaying user preferences search crashed on macOS when the search contained a common character such as 'E'. This caused alignment to 'alloca' too much memory. Replace with a heap allocation fallback.
2020-07-16Merge branch 'master' into mac_arm64Stefan Werner
2020-07-16Cleanup: fix building without USE_UIBUT_SPATIAL_ALIGN definedCampbell Barton
2020-07-16Fix T78966: Center cursor doesn't refresh the UICampbell Barton
2020-07-16Cleanup: missing CMake headers from source listsCampbell Barton
2020-07-16Cleanup: undeclared function warning, unused argumentCampbell Barton
2020-07-16Cleanup: spellingCampbell Barton
2020-07-16Cleanup: minor change to grease pencil material accessCampbell Barton
Rename for clarity and avoid passing in the prefix length.
2020-07-16Fix T78837: Prefetching can corrupt .blend filesRichard Antalik
This happened because of typo in seq_dupli() when duplicating effect data. Instead of duplicating data to new sequence, it was duplicated into original. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8295
2020-07-16Merge branch 'master' into mac_arm64Stefan Werner
2020-07-16Cleanup.Stefan Werner
2020-07-16Revert "macOS: Enabled Embree on arm64."Stefan Werner
This reverts commit 86f207f4fdc17fa5ed6b600c1df9f8ed2e44d569.
2020-07-15Fix T78647 UVEdit: Crash when entering edit mode with UV Editor openClément Foucault
Only affects MacOS.
2020-07-15PointCloud: Initial rendering support for WorkbenchClément Foucault
Also includes outline overlays. Removes the temp overlay drawing We make the geometry follow camera like billboards this uses less geometry. Currently we use half octahedron for now. Goal would be to use icospheres. This patch also optimize the case when pointcloud has uniform radius. However we should premultiply the radius prop by the default radius beforehand to avoid a multiplication on CPU. Using geometry instead of pseudo raytraced spheres is more scalable as we can render as low as 1 or 2 triangle to a full half sphere and can integrate easily in the render pipeline using a low amount of code. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8301
2020-07-15Cleanup: EEVEE: Remove concentric samples.Clément Foucault
2020-07-15Cleanup: EEVEE: Remove unused IRRADIANCE_CUBEMAPClément Foucault
2020-07-15Workbench: Replace viewvecs caculation by DRWViewClément Foucault
2020-07-15DRW: Add glsl math librariesClément Foucault
Copied from eevee bsdf_common_lib.glsl
2020-07-15EEVEE: Fix undefined behavior in world outputClément Foucault
2020-07-15GPU: Shader: Move IN_OUT define to shader GPU_shader_create_exClément Foucault
This adds the opportunity to use it in multiple places.
2020-07-15DRW: Shader: Fix const correctness and print better debug outputClément Foucault
2020-07-15DRW: Shader: Add DRW_shader_create(_fullscreen)_with_shaderlibClément Foucault
Some convenience function for using DRWShaderLibrary.
2020-07-15DRW: View: Add ViewVecs calculationClément Foucault
This will remove some code duplication between draw engines.
2020-07-15Fix T78369: Sculpt Vertex Colors not rendering in EEVEEPablo Dobarro
The vertex colors node was using the M_COL attribute type but Sculpt Vertex Colors use CD_PROP_COLOR Now the Vertex Color node also fallbacks to legacy vertex colors if Scultp Vertex Colors are not enabled as experimental. Reviewed By: brecht Maniphest Tasks: T78369 Differential Revision: https://developer.blender.org/D8185
2020-07-15LibOverride: make outliner's 'override hierarchy' use same logic as 3DView ↵Bastien Montagne
operator. So now one can create a 'full', 'complete' override of a character from the outliner as well.
2020-07-15LibOverride: move most of 'complete override creation' from ED_object to ↵Bastien Montagne
BKE_lib_override. This code is fairly complex and can be used in more places, better not duplicate that logic and just have it in BKE area.
2020-07-15BKE collection: add util to add a collection using another collection as ↵Bastien Montagne
'template'. Similar to what we already had using an object as 'template'.
2020-07-15Cleanup: remove debug prints.Bastien Montagne
2020-07-15Fix error in recent commitJacques Lucke
Obviously a copy paste error of mine...
2020-07-15GPencil: Fix unreported error baking mesh animationAntonio Vazquez
When the mesh is linked, the materials can not be available or be the same assigned to mesh. Now, if the mesh is linked, a simple two materials conversion is used. To get the full list of materials, the mesh must not be linked. Also checked some indexes to be sure never get a wrong value and that materials are not created again and again.
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.