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
path: root/source
AgeCommit message (Collapse)Author
2020-08-07Clang-Tidy: Address readability-redundant-string-initSergey Sharybin
2020-08-07Cleanup: Draw, Clang-Tidy else-after-return fixes (incomplete)Sybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/draw` module. Not all warnings are addressed in this commit. No functional changes.
2020-08-07Fix fast clicks on File Browser sort columns not changing sortingJulian Eisel
Clicking on the column header is supposed to enable sorting by this column, or switch the sort order if already enabled. The double-click event would be blocked by the `file.execute()` operator, which is not supposed to act if the user clicked outside the file list.
2020-08-07Fix T79616: Sort by column in filebrowser is brokenJulian Eisel
After changes in rBc606044157a3, mouse press events would be blocked by the selection operator. This only worked by chance before.
2020-08-07Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete)Sybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/blenlib` module. Not all warnings are addressed in this commit. No functional changes.
2020-08-07Code Style: use "#pragma once" in some newer headersJacques Lucke
Those were missing from the previous commit, because these headers only exist in the `master` and not in the `blender-v2.90-release` branch.
2020-08-07Cleanup: make formatJacques Lucke
2020-08-07Merge branch 'blender-v2.90-release' into masterJacques Lucke
2020-08-07Code Style: use "#pragma once" in source directoryJacques Lucke
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466
2020-08-07Merge branch 'blender-v2.90-release'Clément Foucault
2020-08-07EEVEE: Render: Fix regression caused by previous Motion blur fixClément Foucault
Caused by rB4f59e4bddcb0c06e441adf68a5f252a4e5b4b260
2020-08-07Merge branch 'blender-v2.90-release'Clément Foucault
2020-08-07Fix T78452 EEVEE: Motion Blur: Crash when using camera switchingClément Foucault
This was caused by the ViewLayer being freed with all its engine data.
2020-08-07Fix T78160 EEVEE: Motion Blur: Bug with Follow Path animationClément Foucault
Follow path seems to not be catched by `BKE_object_moves_in_time`. For this reason, we cache all transforms for all object and check ourselves if an animation occurs. This is almost what cycles does. We also fix the rigid body case if the rigid body use deformation.
2020-08-06Merge branch 'blender-v2.90-release'Antonio Vazquez
2020-08-06GPencil: Fix unreported wrong Polyline bottom tooltipAntonio Vazquez
It was mising the Wheelmouse option and the name of the tool was wrong.
2020-08-06GPencil: Fix unreported wrong Polyline bottom tooltipAntonio Vazquez
It was mising the Wheelmouse option and the name of the tool was wrong.
2020-08-06Fix T77885: crash rendering grease pencil from compositor with multiple scenesVincent Blankfield
2020-08-06Merge branch 'blender-v2.90-release'Pablo Dobarro
2020-08-06Fix Pose Brush FK mode detecting wrong rotation originPablo Dobarro
The Pose FK mode assings the rotation origin to the boundary of the last visited face set in the floodfill operation. In some cases, the topology of the model may make the flood fill operation to visit a face set as the first one (assinging it to target) and visit it again as the last one (assinging it to origin). This will make the pose brush to default the origin and target to the brush location and not to the face sets as it considers that there is only one possible boundary. This adds a GSet to ensure that a particular face set is not visited twice in the flood fill, fixing these cases. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7984
2020-08-06Sculpt: Cloth Brush simulation area propertyPablo Dobarro
This makes possible to choose between a local and a global simulation when the cloth brush is used. Local simulation is the current default. When global simulation is enabled, the cloth brush simulates the entire mesh without taking any simulation limits into account. This was possible before by setting the simulation limits to 10 (the current maximum value allowed) so the entire mesh was inside the limits, but this was a hack as the limits scale with the radius and there should not be any limitation on how big the simulated area can be to be able to simulate an entire object. This also allows to make a more clear distinction between cloth brush presets that are intended to be used in local areas to add details or globally to generate the base shape of the mesh. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8481
2020-08-06Merge branch 'blender-v2.90-release'Antonio Vazquez
2020-08-06GPencil: Patch old files after the change in how the first frame is usedAntonio Vazquez
This patching duplicates the first frame of the layer if the first frame number is not equals to the scene first frame number. Related to T79567 Differential Revision: https://developer.blender.org/D8486 Some minor cleanup in the patch.
2020-08-06Cleanup: Paint Cursor RefactorPablo Dobarro
The paint_draw_cursor function was handling the cursor drawing for 2D and 3D views of all paint modes, calculating the brush radius, updating the SculptSession data and updating and drawing all sculpt cursor overlays for different tools. It was almost impossible to understand when and what was being drawn and in which state the GPU matrix was. Now everyting is organized into different functions, with clear separation between modes, sculpt tool overlays and different drawing setups. Update and drawing functions are also separated (this allows to skip one PBVH query on each cursor drawing). Reviewed By: sergey Differential Revision: https://developer.blender.org/D8206
2020-08-06Merge remote-tracking branch 'origin/blender-v2.90-release'Dalai Felinto
2020-08-06Cleanup: Remove bad level calls from space imageDalai Felinto
Groundwork for upcoming fix (D8472)
2020-08-06Cleanup: Stop accessing gpu_batch_presets_reset()Dalai Felinto
The current code is accessing this from outside the gpu "namespace". As such it should be accessing GPU_ functions, not gpu_ functions. This is also a place to centralize the XXX message that will be addressed upon refactor. So we can reuse this call in other places that need the same temporary workaround. Groundwork for upcoming fix (D8472)
2020-08-06Cycles: load OpenVDB file earlier in Blender exportBrecht Van Lommel
In an upcoming bugfix we'll use OpenVDB data structures directly to build mesh for sparse OpenVDB volumes, loading them OpenVDB grids earlier and removing any references to Blender data structures makes that easier. This also makes changes to Blender volumes to support this, so Cycles can take ownership of a grid without Blender having to keep its own reference to it. This should also be useful in a future Python API. Ref D8401
2020-08-06Merge branch 'blender-v2.90-release'Bastien Montagne
2020-08-06Move CDData debug print helper from DM to CustomData 'namespace'/files.Bastien Montagne
2020-08-06Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-06UI: Fixes and small improvements to some labels and UI messagesYevgeny Makarov
Small tweaks to make labels and texts more correct, consistent and polished. Reviewed by: Aaron Carlisle, Julian Eisel Differential Revision: https://developer.blender.org/D8346
2020-08-06Cleanup: undeclared warningsCampbell Barton
2020-08-06Cleanup: avoid debug-only includes for BLI_assert.hCampbell Barton
Having includes in debug builds makes it possible to accidentally break release builds. Avoid this by moving calls to other modules out of BLI_assert.h into BLI_assert.c
2020-08-06Fix buffer-overflow when drawing Curve Guide objectsJulian Eisel
Was passing an array of length 3 to `where_on_path()` that expected length 4.
2020-08-06Fix buffer-overflow when drawing Curve Guide objectsJulian Eisel
Was passing an array of length 3 to `where_on_path()` that expected length 4.
2020-08-06UI: Name force fields using the type of force by defaultMatias Herrero
When adding multiple force fields of different types they are all called "Field", making it difficult to tell them apart. Lights were already named based on their type. This follows the light code. New names: - Force - Vortex - Magnet - Wind - Guide - TextureField - Harmonic - Charge - Lennard-Jones - Boid - Turbulence - Drag - Fluid - Field Reviewed by: Julian Eisel Differential Revision: https://developer.blender.org/D8420
2020-08-06Merge branch 'blender-v2.90-release'Clément Foucault
2020-08-06Fix T78520 EEVEE: No viewport update when changing material nodetreeClément Foucault
This was comming from rBd82c3d86155ea3c7831c7b5ef5d07bc8e2d99394
2020-08-06Merge branch 'blender-v2.90-release'Julian Eisel
2020-08-06Fix padding when multi-editing aligned widgetsRed Mser
Similar to T58668, labels were not aligned when multi-editing widgets that are not center-aligned. Reviewed by: Hans Goudey, Julian Eisel Differential Revision: https://developer.blender.org/D8441
2020-08-06Merge branch 'blender-v2.90-release' into masterJacques Lucke
2020-08-06Fix T79408: ungroup operation update animation data incorrectlyJacques Lucke
Reviewers: sybren, sergey Differential Revision: https://developer.blender.org/D8464
2020-08-06Depsgraph: refactor dot exporter to use utility library from blenlibJacques Lucke
Reviewers: sybren, sergey Differential Revision: https://developer.blender.org/D8473
2020-08-06UI: Reduce item padding in the edit mesh context menusYevgeny Makarov
Align items in the edit mesh context menus (reducing padding), for consistency with other menus. The root layout of menus doesn't add the padding, for sub-layouts `align` has to be enabled. {F8749633} Reviewed By: Julian Eisel Differential Revision: https://developer.blender.org/D8480
2020-08-06Fix T79484: Crash when viewing Movie Clip as a Background Image in a CameraLukas Stockner
This seems to be caused by a change to the logic of movieclip_get_gputexture_ptr in rB97b597c. Differential Revision: https://developer.blender.org/D8469
2020-08-06Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-06Workaround release builds failingCampbell Barton
Issue caused by e9c4325515aed.
2020-08-06Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-06Fix T79309: Safe Areas are not visibleCampbell Barton