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-03Fluid: Refactored caching in main Mantaflow classSebastián Barschkis
This refactor cleans up code for the Manta file IO. It also improves the cache 'Replay' option.
2020-04-03Fluid: Refactored MANTA classSebastián Barschkis
Refactored the caching system so that return values are no longer ignored. The aim of this refactor was to make the caching more robust.
2020-04-03Cleanup: clarification of 'name' in BKE_idtype functionsSybren A. Stüvel
The 'name' parameter of `BKE_idtype_idcode_from_name()`, and the `str` parameter of `idtype_get_info_from_name()`, are expected to be the 'user visible name' of an `IDTypeInfo` struct. This is made clearer in the code by renaming those parameters to `idtype_name` and mentioning it in the documentation of the `BKE_idtype_idcode_from_name()` function. Differential Revision: https://developer.blender.org/D7317
2020-04-03Cleanup: Animation, move AnimData API to `anim_data.c`/`BKE_anim_data.h`Sybren A. Stüvel
The `BKE_animsys.h` and `anim_sys.c` files already had a an "AnimData API" section. The code in that section has now been split off, and placed into `BKE_anim_data.h` and `anim_data.c`. All files that used to include `BKE_animsys.h` have been adjusted to only include the animation headers they need (sometimes none). No functional changes.
2020-04-03Cleanup: Fix build warning with MSVCRay Molenkamp
SubdivCCG was unknown when compiling gpuinit_exit.c
2020-04-03Fix T74495: Shrink/Fatten gives strange results with Individual OriginsGermano Cavalcante
The island `axismtx` is only necessary in some transform modes. In the case of `Shrink/Fatten`, the calculated `axismtx` brings an undesirable result. This commit rearrange the struct `TransIslandData` in order to calculate and reference only the arrays that will be used for each transform mode. Differential Revision: https://developer.blender.org/D7305
2020-04-03New Undo: Fix crash in some complex production files.Bastien Montagne
There is no guarantee that depsgraph is ran between two undo steps, so when re-using an existing data-block we should never wipe completly its recalc flags, but instead complement them with new ones from accumulated 'storage' as needed.
2020-04-03Cleanup: Rename bScreen variables from sc/scr to screenJulian Eisel
Part of T74432. Mostly a careful batch rename but had to do few smaller fixes. Also ran clang-format on affected files.
2020-04-03Cleanup: add missing #includes to some headersSybren A. Stüvel
It should be possible to `#include` any header without having to worry about its dependencies. I didn't go and check all include files for this, just the ones that caused me errors while I was refactoring the `anim_sys.c` file. No functional changes.
2020-04-03Cleanup: Rename ScrArea variables from sa to areaJulian Eisel
Follow up of b2ee1770d4c3 and 10c2254d412d, part of T74432. Now the area and region naming conventions should be less confusing. Mostly a careful batch rename but had to do few smaller fixes. Also ran clang-format on affected files.
2020-04-03Fix T74205: crash cancelling transfrom operation in sculpt modeAsad-ullah Khan
Differential Revision: https://developer.blender.org/D7018
2020-04-03Fix T75287: other Cycles render passes wrong when using CryptomatteBrecht Van Lommel
2020-04-03Fix T74572: adaptive sampling not scaling render passes correctlyBrecht Van Lommel
2020-04-03Cleanup: Continue renaming ARegion variables from ar to regionJulian Eisel
Continuation of b2ee1770d4c3, now non-single word variables are also renamed. Part of T74432. Also ran clang-format on affected files.
2020-04-03Cleanup: split ED_mesh_mirror_*_table into multiple functionsCampbell Barton
Spatial & topology mirror table each used a single function taking a char as an identifier. Split these into begin/end/lookup functions.
2020-04-03Cleanup: split `BKE_anim.h` and `anim.c` into smaller piecesSybren A. Stüvel
The files are now split up into the following sections: - `BKE_anim_path.h` and `anim_path.c` for path/curve functions. - `BKE_anim_visualization.h` and `anim_visualizationanim_path.c` for animation visualization (mostly motion paths). - `BKE_duplilist.h` for DupliList function declarations. These were already implemented in `object_dupli.c`, so they were rather out of place being declared in `BKE_anim.h` in the first place. No functional changes.
2020-04-03Fix accidentally reverted changes in VR merge due to merge errorJulian Eisel
dc2df8307f41 unintentionally reverted part of 07bdbeda8462.
2020-04-03Cleanup: Font, added initialisation for two variablesSybren A. Stüvel
My compiler (GCC 7.5.0) was warning about these variables potentially not being initialised. Since the function is highly complex, instead of analysing it I just trust my compiler and added initial values. This should be no functional change.
2020-04-03Fix T75250: setting greasepencil active layer not refreshing the dopesheetPhilipp Oeser
This was only reported for the 'Change Active Layer' operator [which was not setting the channel as selected in the dopesheet], but this is also the case elsewhere [where BKE_gpencil_layer_active_set is used], namely: - gp_layer_remove_exec - gp_layer_copy_exec - gp_merge_layer_exec - gp_layer_change_exec - gp_layer_active_exec - gp_stroke_separate_exec We could set GP_LAYER_SELECT "by hand" in BKE_gpencil_layer_active_set(), but there is already animchan_sync_gplayer() that does that. For this, we need the NA_SELECTED notifier though. Maniphest Tasks: T75250 Differential Revision: https://developer.blender.org/D7311
2020-04-03Cleanup: typo in commentPhilipp Oeser
2020-04-03Fix T75315: typo in automasking UI textPhilipp Oeser
2020-04-03Cleanup: use term 'attr' instead of 'attrib'Campbell Barton
This was already the case in most parts of the GPU API. Use full name for descriptive-comments.
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