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-04-03Cleanup: use tern 'sync' instead of 'synchronization' for function namesCampbell Barton
This is a common, unambiguous abbreviation already used throughout the code-base.
2020-04-03Cleanup: use abbreviated names for unsigned types in editorsCampbell Barton
2020-04-03Cleanup: quiet shadow warnings with ghost & mantaflowCampbell Barton
2020-04-03Cleanup: replace static list with argument for curve mergingCampbell Barton
2020-04-03Cleanup: bone cursor picking APICampbell Barton
There was one function to access both pose/edit bones, which returned a void pointer type. Split these into 3 functions which return EditBone, bPoseChannel or Bone types. Internally the logic is still shared, this just makes it clearer to callers which type is expected. Also use more conventional prefix for picking API: - ED_armature_pick_(ebone/pchan/bone) - ED_armature_pick_(ebone/pchan/bone)_from_selectbuffer
2020-04-03Fix T75330: Select linked crashes without a bone near the cursorCampbell Barton
Own error with recent improvements to select link.
2020-04-03Cleanup: improve & use doxy sections for armature_naming.cCampbell Barton
2020-04-03Cleanup: spellingCampbell Barton
2020-04-03Cleanup: move curve picking functions into 'editcurve_query.c'Campbell Barton
2020-04-03Revert "Writefile: Cleanup Scene runtime data."Brecht Van Lommel
This reverts commit ee0d91df5dd75029de6886db13e45af3d4c7ef7c. This is modifying scene data on write, which causes crashes. It can only do that on a copy of the data.
2020-04-02Fix Linux link error with pcre after recent changes, must use absolute pathBrecht Van Lommel
2020-04-02Fix link error on Linux buildbot with libxml2Brecht Van Lommel
On macOS this is part of the collada folder, but for Linux xml2 is in its own folder for precompiled libraries.
2020-04-02Fix warnings caused by own earlier commitJulian Eisel
Caused by 34465a7fb091.
2020-04-02Fix Cycles AVX unit test still failing to build with old GCCBrecht Van Lommel
2020-04-02Sculpt: Delay Viewport UpdatesPablo Dobarro
In Blender 2.81 we update and draw all nodes inside the view planes. When navigating with a pen tablet after an operation that tags the whole mesh to update (like undo or inverting the mask), this introduces some lag as nodes are updating when they enter the view. The viewport is not fully responsive again until all nodes have entered the view after the operation. This commit delays nodes updates until the view navigation stops, so the viewport navigation is always fully responsive. This introduces some artifacts while navigating, so it can be disabled if you don't want to see them. I'm storing the update planes in the PBVH. This way I can add support for some tools to update in real-time only the nodes inside this plane while running the operator, like the mesh filter. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6269
2020-04-02VR: Refactor DirectX context managementJulian Eisel
All DirectX management happens on Ghost level now, higher level code can just assume everything is OpenGL (except of the upside-down drawing that still needs to be done for DirectX). This is similar to how the metal-layer is hidden outside of Ghost. The Ghost-XR graphics binding for DirectX is responsible for managing the DirectX compatibility now.
2020-04-02Fix more build errors/warnings after recent AVX changesBrecht Van Lommel
Thanks to Sergey and Ray for the help identifying the problem.
2020-04-02add memory address to undo steps print.Bastien Montagne
Helps identifying who is what in debugger...
2020-04-02Fix build error on Windows/Linux after recent AVX changesBrecht Van Lommel
2020-04-02Fix (harmless) PCRE not found warning when configuring CMake on LinuxBrecht Van Lommel
Differential Revision: https://developer.blender.org/D7309
2020-04-02Cleanup: simplify Linux buildbot config, where default values already matchBrecht Van Lommel
Ref D7309
2020-04-02Sculpt: Add global automasking options for all brushesPablo Dobarro
This adds the automasking options to the Sculpt Tool options in a way that they affect all brushes. This is more convenient when working with some of these options while switching brushes as they don't need to be enabled/disabled per brush. An automasking option is enabled if it is enabled in the brush or in the sculpt options. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7304
2020-04-02Fix T74983: Material preview icons don't refreshSybren A. Stüvel
The root cause of the issue reported in T74983 is that an `IDNode` would not be marked as user-modified. This marking happened while looping over outgoing relations of one of its operation nodes. Since rBff60dd8b18ed unused relations are removed, and as a result the `IDNode` would not be marked. The solution was to move the responsible code outside the loop; this is probably a good idea anyway, as the code did not actually use the looped-over relations at all, and was thus repeated unnecessarily.
2020-04-02Fix T75302: GPencil fill does not work on python generated strokesAntonio Vazquez
2020-04-02GPencil: Cleanup typo error for hardnessAntonio Vazquez
The variable cannot be names because it was already renamed.
2020-04-02Scultp: Face Set boundary automaskingPablo Dobarro
With this brush option it is possible to mask the boundary vertices of all face sets. This is especially useful in the cloth brush, where face sets can be used to simulate seams between different patches of cloth and produce different patterns and effects. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7230
2020-04-02Sculpt: Store explicit value for multires sculpt levelSergey Sharybin
Allows to know what level sculpting has been done after the value has been changed in the MultiresModifierData. No functional changes, just preparing code to have everything needed for propagation undo. Differential Revision: https://developer.blender.org/D7307
2020-04-02Sculpt Undo: Allow Geometry undo step to be non-exclusiveSergey Sharybin
Before this change it was not possible to have base geometry and grid coordinates to be stored in the same undo step. Differential Revision: https://developer.blender.org/D7298
2020-04-02Fix Face Sets painting and selection precisionPablo Dobarro
This fixes the following issues: - Previously, the face set from the active vertex was used directly. Vertices always return the most recently created face set, so in some cases there may be some face sets that were not possible to select as active. Now the active face set is set in the ray intersection, so it always matches the face under the cursor. - When drawing face sets they were set per vertex, so it was not possible to paint one face at a time. Now face sets are painted per poly when using the brush on meshes, testing the distance to the center of each poly. - The code for the active vertex on PBVH_GRIDS was not correct, so I also fixed that to test if everything was working correctly. {F8441699} Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7303
2020-04-02Fix T75121: Memory leak in Surface SmoothPablo Dobarro
The brush was allocating new memory for storing the displacemnets at the beginning of each stroke step and not freeing them. Reviewed By: jbakker Maniphest Tasks: T75121 Differential Revision: https://developer.blender.org/D7254
2020-04-02Fix mesh boundary automask curve falloffPablo Dobarro
As the main use case of this feature is to work with cloth, using this curve makes more sense than a smoothstep to simulate cloth tension near the edges. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7262
2020-04-02Missed file in previous commitJeroen Bakker
2020-04-02Fix T72688: Vertex Group Weights in Edit Mode Occludes In Front ArmaturesJeroen Bakker
Due to legacy this overlay was implemented twice (Edit Mesh and Weight Painting) with different results. This patch consolidates both drawing and uses only the Weight Painting drawing.
2020-04-02Fix: Build error when building with python offRay Molenkamp
2020-04-02Revert "Fix T72688: Vertex Group Weights in Edit Mode Occludes In Front ↵Dalai Felinto
Armatures" This reverts commit 782e6ea4edd9cb09f2583c8f28a24d6330dc6ce8. Said fix introduced a crash the moment one goes to edit mode.
2020-04-02CMake: Add alembic boost dependencyRay Molenkamp
When building lite + alembic + boost cmake would turn boost off because it deemed it not needed leading to build errors.
2020-04-02Cleanup: Avoid complex template type for XR-SwapchainJulian Eisel
I rather avoid types like `std::vector<std::unique_ptr<GHOST_XrSwapchain>>`, which is easy to do in this case.
2020-04-02Fix T72688: Vertex Group Weights in Edit Mode Occludes In Front ArmaturesJeroen Bakker
Due to legacy this overlay was implemented twice (Edit Mesh and Weight Painting) with different results. This patch consolidates both drawing and uses only the Weight Painting drawing. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7289
2020-04-02Fluids: improve subframe handlingJacques Lucke
Reviewers: sebbas Differential Revision: https://developer.blender.org/D7256
2020-04-02Sculpt: Give a brief explanation of undo stackSergey Sharybin
Should make it a bit more clear overview of what is going on in this module. While some of the details might still be missing, having some sort of top-level overview is better than nothing. Differential Revision: https://developer.blender.org/D7300
2020-04-02Sculpt Undo: Fix multires undo for interleaved nodesSergey Sharybin
Made it so grids array is properly allocated when first node in the undo list does not contain grid data. Differential Revision: https://developer.blender.org/D7299
2020-04-01Fix T75283: GPencil Stroke created by `Merge points` can't have fill materialAntonio Vazquez
2020-04-01Fix T75271: GPencil Segment select mode doesn't workAntonio Vazquez
The selection was workring with the evaluated data, but need work with the original data.
2020-04-01Fix T74224: Add missing depsgraph relations for boid particlesJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D7302
2020-04-01Cycles: AVX implantation of Perlin noise.OmarSquircleArt
This patch adds an AVX implementation of Perlin noise in Cycles. An avxi type was also added as a utility based on the respective type in Intel Embree. Only 3D and 4D noise were implemented, there is no benefit for utilizing AVX in 1D and 2D noise. The SSE trilinear interpolation function was used in the AVX implementation because there is no benefit from using AVX in interpolating the last three dimensions. Differential Revision: https://developer.blender.org/D6680
2020-04-01Writefile: Cleanup Volume runtime data.Bastien Montagne
2020-04-01Writefile: Cleanup CacheFile runtime data.Bastien Montagne
2020-04-01Writefile: Cleanup MovieClip runtime data.Bastien Montagne
2020-04-01Writefile: Cleanup GPencil data.Bastien Montagne
Note: Not clearing the whole runtime data here, as this is not done in matching read code, not sure why, needs further investigation...
2020-04-01Writefile: Cleanup Nodetree runtime data.Bastien Montagne
Note: As with collections, this does not affect embedded nodetrees from material etc. We prpbably need to tackle those as well at some point...