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-05-03cleanupJacques Lucke
2020-05-03Merge branch 'master' into blenloader-decentralizationJacques Lucke
2020-05-03Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-03GPencil: More changes to improve Chisel brushAntonio Vazquez
More small tweaks to get the right "feeling" when drawing. The defaults has been tested by @pepeland.
2020-05-03Cleanup: sort file listsCampbell Barton
2020-05-02Merge branch 'blender-v2.83-release'Richard Antalik
2020-05-02Cleanup: Fix return NULL from bool type functionRichard Antalik
2020-05-01Merge branch 'blender-v2.83-release'Richard Antalik
2020-05-01Fix T76033: VSE crash with prefetch, disk cache and meta stripsRichard Antalik
`BKE_sequencer_prefetch_get_original_sequence()` didn't look in metas and returned NULL. This caused crash in disk cache that was trying to read seq->name. Add function that will look in meta strips recursively and condition that seq must not be NULL. Reviewed By: brecht Maniphest Tasks: T76033 Differential Revision: https://developer.blender.org/D7597
2020-05-01Cleanup: Animation, refactored FCurve interpolationSybren A. Stüvel
Early returns are used to heavily reduce code indentation and clean up some code flow. No functional changes.
2020-05-01Cleanup: Animation, split FCurve interpolation into separate functionSybren A. Stüvel
2020-05-01Cleanup: Animation, unify FCurve extrapolationSybren A. Stüvel
Previously there were two functions for FCurve extrapolation, one for before the first keyframe, and the other for after the last. After the previous cleanup made the variable names consistent, it was clear that the code was almost identical. The biggest difference was in the sign of many of the calculations, which was cancelled out by swapping `B-A` to `A-B`. This showed that the computations are actually the same, and the only remaining difference was which neighbouring handle to use in case of Bézier curves. No functional changes. # Conflicts: # source/blender/blenkernel/intern/fcurve.c
2020-05-01Cleanup: Animation, refactored FCurve extrapolationSybren A. Stüvel
Variables have been renamed so that they refer to the endpoint and its neighbor (rather than `bezt`, `prevbezt`, or `lastbezt`), and unnecessary variables have been removed. By returning early the code flow is also easier to understand. No functional changes.
2020-05-01Cleanup: Animation, split FCurve extrapolation into separate functionsSybren A. Stüvel
The `fcurve_eval_keyframes` consists of three parts: - Before the first keyframe - After the last keyframe - Between the keyframes This commit splits the first two parts into separate functions. This is the first of a series of refactors, which will be committed into smaller parts so that each is easier to follow & validate. No functional changes.
2020-05-01Cleanup: moved drivers to BKE_fcurve_driver.h / fcurve_driver.cSybren A. Stüvel
All the driver-specific code in `fcurve.c` has been moved into a new file `fcurve_driver.c`. The corresponding declarations have been moved from `BKE_fcurve.h` to `BKE_fcurve_driver.h`. All the `#include "BKE_fcurve.h"` statements have been investigated and replaced with `BKE_fcurve_driver.h` where necessary. No functional changes.
2020-05-01Cleanup: improve readability for color assignmentCampbell Barton
2020-05-01Cleanup: pass const arguments to texture functionsCampbell Barton
2020-05-01Cleanup: rename externtex to RE_texture_evaluateCampbell Barton
- Pass in return arguments last. - Pass in RGBA as a vector. - Use boolean return argument.
2020-05-01Cleanup: spelling, commentsCampbell Barton
2020-05-01Cleanup: warningsCampbell Barton
2020-05-01Curve: Force pretesselate modifier to output a Mesh outputClément Foucault
This is to improve the case of T71055 where curves share the same batch cache when they shouldn't. This however, does not help to fix edit mode display. The real fix would be to have a similar handling to what the mesh modifiers do and duplicate the whole Curve data. But this is too much work/change for the 2.83 release. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7569
2020-05-01Curve: Force pretesselate modifier to output a Mesh outputClément Foucault
This is to improve the case of T71055 where curves share the same batch cache when they shouldn't. This however, does not help to fix edit mode display. The real fix would be to have a similar handling to what the mesh modifiers do and duplicate the whole Curve data. But this is too much work/change for the 2.83 release. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7569
2020-04-30VSE: Add frame interpolation option to speed effectIsrael Medina
Do cross transition from current to next frame instead of displaying one image for n frames. Reviewed By: ISS, sergey, campbellbarton Differential Revision: https://developer.blender.org/D7417
2020-04-30Fix crash when switching subdivision level in MultiresPablo Dobarro
When using multires_reshape_context_create_from_ccg to create the context mmd is null, so the subdivision smooth mode can't be checked there. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7579
2020-04-30Cleanup: Fix compiler warningAntonio Vazquez
2020-04-30Fix T76097: Simulations don't take animated gravity into accountSebastián Barschkis
Together with 21485e94aac1 this commit should fix the issue with animated gravity values.
2020-04-30Cleanup: simplify a bit libquery code.Bastien Montagne
2020-04-30simplify namingJacques Lucke
2020-04-30rebase blenloader api on latest masterJacques Lucke
2020-04-30Fluid: Refactored fluid gravity settingsSebastián Barschkis
Refactored setup that converts from Blender to Mantaflow units.
2020-04-30Fluid: Minor cleanup and sanity checksSebastián Barschkis
2020-04-30Multires: Subdivide Simple and Subdivide LinearPablo Dobarro
This introduces two alternative subdivision modes that generates displacement on the grids that look as Simple subdivisions but while using the Catmull-Clark subdivision type in the modifier. This way, Simple and Catmull-Clark subdivision can be combined when creating new levels if needed, for example, to sculpt hard surface objects. Subdivide simple smooths the sculpted data when creating a new subdivision level. Subdivide linear also preserves the sharpness in the sculpted data. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7415
2020-04-30Multires: Unsubdivide and Rebuild SubdivisionsPablo Dobarro
This implements the main unsubdivide algorithm which rebuilds a base mesh and extracts the grid's data from a high resolution mesh. It includes the Rebuild Subdivisions operator, which generates all subdivision levels down to the level 0 base mesh. It supports: - Rebuilding an arbitrary number of levels (Unsubdivide) or as many levels as possible down to level 0 in a single step (Rebuild Subdivisions). - Rebuilding with already existing grids. - Meshes with n-gons and triangles - Meshes with more than 2 faces per edge - Base mesh made completely out of triangles - Meshes without poles - Meshes with multiple disconnected elements at the same subdivision level Reviewed By: sergey Differential Revision: https://developer.blender.org/D7372
2020-04-30Multires: Enable sculpting in all subdivision levelsPablo Dobarro
Return the correct sculpt level in BKE_multires_sculpt_level_get and enable the property in the UI Reviewed By: sergey Differential Revision: https://developer.blender.org/D7575
2020-04-30Merge branch 'blender-v2.83-release'Sebastián Barschkis
2020-04-30Fluid: Removed domain size option from diffusion panelSebastián Barschkis
Domain size parameter no longer needed (unsed right now). Domain size is directly taken from object.
2020-04-30Task: Use TBB as Task SchedulerBrecht Van Lommel
This patch enables TBB as the default task scheduler. TBB stands for Threading Building Blocks and is developed by Intel. The library contains several threading patters. This patch maps blenders BLI_task_* function to their counterpart. After this patch we can add more patterns. A promising one is TBB:graph that can be used for depsgraph, draw manager and compositor. Performance changes depends on the actual hardware. It was tested on different hardwares from laptops to workstations and we didn't detected any downgrade of the performance. * Linux Xeon E5-2699 v4 got FPS boost from 12 to 17 using Spring's 04_010_A.anim.blend. * AMD Ryzen Threadripper 2990WX 32-Core Animation playback goes from 9.5-10.5 FPS to 13.0-14.0 FPS on Agent 327 , 10_03_B.anim.blend. Reviewed By: brecht, sergey Differential Revision: https://developer.blender.org/D7475
2020-04-29Tracking: Implement Nuke/Natron distortion modelSergey Sharybin
Neither Nuke nor Natron support OpenCV's radial distortion model which makes it impossible to have any kind of interoperability. The new model is available under the distortion model menu in Lens settings. Differential Revision: https://developer.blender.org/D7484
2020-04-29Fix/cleanup: lib_query: missing case handling of new ID_SIM type.Bastien Montagne
Also update comments.
2020-04-29Merge branch 'blender-v2.83-release'Bastien Montagne
Conflicts: source/blender/blenkernel/intern/lib_query.c
2020-04-29Cleanup: use LISTBASE_FOREACH iterator everywhere possible in libquery.Bastien Montagne
Done also in 2.83 release branch to avoid too much conflicts on merging (some of those were already done for nodes in master, and gave me conflicts yesterday...).
2020-04-29Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-04-29Fix T76185: GPencil from Curve ignores Cyclic when curve has only 2 pointsAntonio Vazquez
Also changed default thickness to 10 because after draw engine refactor the final line was too thin.
2020-04-29Cleanup: use doxy sections for multires & subdiv sourcesCampbell Barton
2020-04-28Merge branch 'blender-v2.83-release'Bastien Montagne
Conflicts: source/blender/blenkernel/intern/lib_query.c source/blender/depsgraph/intern/builder/deg_builder_relations.cc
2020-04-28IDProperties: add a foreach looper and use it in libquery code.Bastien Montagne
Note: part of fix for T75279. Differential Revision: https://developer.blender.org/D7550
2020-04-27Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-04-27GPencil: Change defaults for Gradient materialsAntonio Vazquez
The old values did not display a valid gradient by default.
2020-04-27Merge branch 'blender-v2.83-release'Richard Antalik
2020-04-27Fix T74346 VSE: Prefetching doesn't work properly with property animationsRichard Antalik
Make sure depsgraph was updated before evaluating the animation. Reviewed By: ISS Differential Revision: https://developer.blender.org/D7467