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-03Cleanup: Editors/Mesh, Clang-Tidy else-after-return fixesSybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/editors/mesh` module. No functional changes.
2020-07-03Cleanup: Editors/Armature, Clang-Tidy else-after-return fixesSybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/editors/armature` module. No functional changes.
2020-07-03Cleanup: Editors/Animation, Clang-Tidy else-after-return fixesSybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/editors/animation` module. No functional changes.
2020-07-03Fix Pose Brush crashing after disabling connected only in FK modePablo Dobarro
This function was returning the ik_chain before disabling the fake_neighbors, so when the brush was used again with fake neighbors disabled after rebuilding the PBVH and free them, they were still enabled in the SculptSession, causing a the crash. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8195
2020-07-03Move Scene's cache management during undo to new system.Bastien Montagne
2020-07-03Cleanup: Unused variables in non-debug buildHans Goudey
2020-07-03Cleanup: Remove obsolete code in interface_panel.cHans Goudey
Some code delt with panel merging in earlier versions of Blender, which is no longer needed. Other code delt with controls that aren't used anymore, and in some cases have region-level equivalents. There's a surprising amount of this unused code in this file, so removing it will be helpful for the future. Differential Revision: https://developer.blender.org/D7938
2020-07-03Clang-Tidy: Enable readability-redundant-string-cstrJacques Lucke
2020-07-03Clang-Tidy: Enable readability-redundant-control-flowHans Goudey
2020-07-03Disable clang-tidy for code-generated RNA filesSergey Sharybin
This needs some extra care, which is probably easier once the initial pass over integration is done.
2020-07-03Move volume to new cache management system for undo.Bastien Montagne
2020-07-03Clang-tidy: enable readability-container-size-empty warningJacques Lucke
Reviewers: sergey Differential Revision: https://developer.blender.org/D8197
2020-07-03Cleanup: add const in various placesJacques Lucke
2020-07-03Cleanup: Editors/GPencil, Clang-Tidy else-after-return fixesSybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/editors/gpencil` module. No functional changes.
2020-07-03Cleanup: BMesh, Clang-Tidy else-after-return fixesSybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/bmesh` module. No functional changes.
2020-07-03Cleanup: Interface, Clang-Tidy else-after-return fixesSybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/editors/interface` module. No functional changes.
2020-07-03Cleanup: Mark overriding function with `override` keywordSybren A. Stüvel
No functional changes.
2020-07-03Cleanup: bring operator overloads closer togetherJacques Lucke
2020-07-03Cleanup: use nested namespacesJacques Lucke
2020-07-03Cleanup: use trailing underscore for non-public data membersJacques Lucke
2020-07-03Cleanup: Use trailing underscore for non-public data membersJacques Lucke
This makes the code conform better with our style guide.
2020-07-03Fix T78570: Vert/Edge slide doesn't adjust UVsGermano Cavalcante
2020-07-03GPencil: Cleanup more comments (cont)Antonio Vazquez
2020-07-03Clang-Tidy: Enable redundant static qualifier warningSergey Sharybin
This change enables readability-static-definition-in-anonymous-namespace warning in .clang-tidy configuration.
2020-07-03Move bSound cache handling during undo to new system.Bastien Montagne
2020-07-03Cleanup: do not use magic values for enums...Bastien Montagne
2020-07-03New undo cache management: Add Image IDs.Bastien Montagne
Some notes: * `Image.cache` acts as some kind of 'main' cache, when it is NULL (could not be restored), other caches should also be cleared. Oddly enough, previous code was not clearing **all** caches, could not find any reason for that behavior, so new code does a full clear. * `imamap` is still used for Node previews from scenes' compositor, however this is actually fully disabled in `direct_link_node()`. * For render slots we cannot use offsetof as third part of the cache key, so we are using a hash of the slot's name instead. As far as I can tell, this fixes T76989: Visual glitches when undo after reload multiple images by script (in Material Preview).
2020-07-03Readfile/Undo: initial refactor of cache preservation code.Bastien Montagne
Main goal here is to have better specificity using cache keys, to avoid same memroy address being re-used messing up with cache pointers restoration after undo had to re-read a data-block. Once all caches handling are ported to this new system, it should fix random issues like the one reported in T76989. Part of D8183, refactoring how we preserve caches across undo steps in readfile code.
2020-07-03IDTypeInfo: add new callback to loop over all cache pointers of an ID.Bastien Montagne
Part of D8183, refactoring how we preserve caches across undo steps in readfile code.
2020-07-03Add key structure and hashing utils for ID caches.Bastien Montagne
Part of D8183, refactoring how we preserve caches across undo steps in readfile code.
2020-07-03GPencil: Cleanup more comments (cont)Antonio Vazquez
2020-07-03GPencil: Cleanup more comments (cont)Antonio Vazquez
2020-07-03Depsgraph: Use C++ style of guarded allocation of objectsSergey Sharybin
2020-07-03GPencil: Cleanup move functions to geom from modifierAntonio Vazquez
2020-07-03GPencil: Cleanup Doxygen comments (cont)Antonio Vazquez
2020-07-03Cleanup: Fluid renaming from old 'manta' naming to new 'fluid' namingSebastián Barschkis
Changed variable names from mmd, mds, mfs, and mes to fmd, fds, ffs, and fes. The author of this commits lights a candle for all the merge conflicts this will cause.
2020-07-03GPencil: Cleanup Doxygen commentsAntonio Vazquez
2020-07-03BLI: Use TBB spin_mutex as SpinLock implementationSergey Sharybin
When building without TBB use native to the platform spin lock implementation. For Windows it is an atomic-based busy-wait, for Linux it is pthreads' spin lock. For macOS it is a mutex lock. The reason behind this is to stop using atomics library which has been declared deprecated in SDK version 10.12. So this changes fixes a lot of noisy warnings on the newer SDK. Differential Revision: https://developer.blender.org/D8180
2020-07-03BLI: Switch threads implementation file to C++Sergey Sharybin
Allows to use C++ primitives in the primitive implementation.
2020-07-03Cleanup: spellingCampbell Barton
2020-07-03Fix T78551 EEVEE: Fix memleak from renderpass uboClément Foucault
2020-07-03Fix T78124 Overlay: Image: Camera background image transparency not workingClément Foucault
This changes to premultiplied blending for all cases and put the premult in the shader.
2020-07-03Fix T77559 Avoid wrong ob->imat leading to several bugsClément Foucault
This fixes T77559 Scale to zero in object mode unable to select
2020-07-03Fix T78527: GPencil Mirror modifier is inconsistent with Mesh Mirror (redo)Philip Holzmann
Simply the same code the regular mesh mirror modifier uses. Differential Revision: https://developer.blender.org/D8188
2020-07-02UI: rename Alpha to OpacityJuan
There was a discrepancy between the Tooltip of the Camera's Background Image that controls the opacity of the image and the operator's name that reads Alpha. The tooltip says **"Image opacity to blend the image against the background color"**, so it was renamed to Opacity to follow the tooltip. The decision for this change is that the naming Alpha is not the most appropriated, since it has nothing to do if a loaded image has an embedded Alpha channel or not. {F8540101} Reviewed By: #user_interface, pablovazquez Differential Revision: https://developer.blender.org/D7760
2020-07-02UI: Replace "Grease Pencil" with "Annotation" in user-facing options in the ↵Nicola De Mitri
Clip editor This revision affects the menu under: Clip > Track > Detect Features > Placement. A bit of UI that was probably missed when the legacy GP was renamed to Annotation {F8647693} In this state, it may be confusing for the user. Reviewed By: Blendify Differential Revision: https://developer.blender.org/D8139
2020-07-02Cleanup: Remove useless duplicated linesValentin
I spotted a duplicate struct declaration, so I had to check for other duplicated as well There might be some other but i am not confident enough for deleting them this regex search for duplicate ^(.*;)$\n(\1)$ Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D8146
2020-07-02UI: Dont abbriviate location & rotationAaron Carlisle
This resolves one of the last few areas where we still use inappropriate abbreviations. Reading abbreviated words is usually slower, because users must parse, guess and translate the words. Using abbreviations such as 'rot' is also especially bad since it's a word in itself too. The main advantage of abbreviations is that they are faster to *write*, which just isn't a concern for text in the UI. Differential Revision: https://developer.blender.org/D8174
2020-07-02GPencil: Cleanup - More rename from gp_ to gpencil_Antonio Vazquez
2020-07-02Sculpt: Mask By ColorPablo Dobarro
This tool generates masks based on the sculpt vertex colors by clicking on the model, similar to automatic selection tools in image editing software. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8157