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
2019-12-07Maths Node: Additional functionsCharlie Jolly
When creating shaders and using maths functions it is expected that Blender should match functions in other DCC applications, game engines and shading languages such as GLSL and OSL. This patch adds missing functions to the Blender maths node. Ideally, it would be nice to have these functions available to vectors too but that is not part of this patch. This patch adds the following functions trunc, snap, wrap, compare, pingpong, sign, radians, degrees, cosh, sinh, tanh, exp, smoothmin and inversesqrt. Sign function is based on GLSL and OSL functions and returns zero when x == 0. Differential Revision: https://developer.blender.org/D5957
2019-12-07Cleanup: remove unused argumentsCampbell Barton
2019-12-07Preferences: correct experimental flag useCampbell Barton
Add utilities for checking when experimental features should be used.
2019-12-07UI: File Browser Volumes and System Lists IconsHarley Acheson
Allows each File Browser list item in Volumes and System to use individual icons. Differential Revision: https://developer.blender.org/D5802 Reviewed by Julian Eisel
2019-12-06UI: disk to disc icon dat file renameHarley Acheson
Changes file names of two icon 'dat' files to reflect previous identifier rename. Differential Revision: https://developer.blender.org/D6166 Reviewed by Julian Eisel
2019-12-06Tool System: experimental fallback tool supportCampbell Barton
Implement T66304 as an experimental option, available under the preferences "Experimental" section. - When enabled most tools in the 3D view have a gizmo. - Dragging outside the gizmo uses the 'fallback' tool. - The fallback tool can be changed or disabled in the tool options or from a pie menu (Alt-W).
2019-12-06Tool System: don't assert when showing tooltips in a different spaceCampbell Barton
Needed to show fallback tool for the 3D view in the properties editor.
2019-12-06UI: only use toolbar draw-style for buttons with iconsCampbell Barton
This allows tool buttons to be used in menus or popovers and show as regular button styles.
2019-12-06Gizmo: add optional background alpha for 2D button gizmoCampbell Barton
This allows using the gizmo for a screen circle with a hollow area in the center, useful for general dragging gizmos.
2019-12-06Windows: Fix failing tests due to missing manifest.Ray Molenkamp
Tests were missing a manifest, and were importing the wrong version of Microsoft.Windows.Common-Controls causing blenloader_test, bmesh_core_test and alembic_test to fail due a loader error.
2019-12-06Fix T71342: macOS does not always use the discrete GPU for BlenderBrecht Van Lommel
This reverts commit 3d9cc4d3f174d01c96d65a4e9cd751699bcb8744. The commit message and intent behind the commit is unclear. We generally want the discrete GPU to be used for best performance, not the integrated GPU.
2019-12-06Cleanup/Windows: Separate out the MS-CRT into a subfolderRay Molenkamp
In older versions the ms crt was only a few dlls, in recent versions this jumped to over 40 leading to quite a bit of clutter in our bin folder. This change moves the CRT into its own folder. For developers that generally already have the runtime globaly available on their machine, there is a new cmake option (WITH_WINDOWS_BUNDLE_CRT, default ON) that you can use to toggle installing the runtime to the blender bin folder, and save some time during the initial build, this option is off by default for only the developer profile. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6132
2019-12-06Fix crash when trying to decimate baked fcurve channelsSebastian Parborg
No curve data was available for the modal decimate operator. Added a check for when the curve has baked data.
2019-12-06Fix T72215: Insert Blank Keyframe Active Layer) creates a new frame in all ↵Antonio Vazquez
layers The default parameter was saved and the next time the operator was used, if it was used all layers, the default value changed.
2019-12-06Cleanup: clang-formatCampbell Barton
2019-12-06Draw: Removal of MultiSample BuffersJeroen Bakker
Multisample buffers were used for smooth line drawing. As we now have an algorithm that doesn't need the multisample buffers we can remove them. The user preference for viewport multi_sampling is replaced by single toggle overlay `use_overlay_smooth_wire`. By default this setting is enabled as the new drawing is really quick (<1ms) and uses zero hacks. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6367
2019-12-06Fix T72118: Enable Windows 10 Non-client DPI ScalingHarley Acheson
Enables Windows 10 feature that automatically adjusts non-client area (title bar) on high-DPI displays. Differential Revision: https://developer.blender.org/D6370 Reviewed by Brecht Van Lommel
2019-12-05Cleanup: Windows Manifest usage.Ray Molenkamp
We had a manifest file, but it was seemingly not used, some settings were done using linker pragmas, some of them visual studio would set by default for us, others where not set at all. This patch changes: - Single manifest file where we can maintain all settings in a single location, removal of any linker pragmas related to the manifest. - Compatibly settings for win vista - win10, without this any call to any of the GetVersion and related functions (GetVersionEx, VerifyVersionInfo, IsWindowsXxxx) will by default say we are on vista and OS specific optimizations in external libraries may be missed. -Rather than having it in the .RC file in an #ifdef which may or may not trigger depending on the build tool used, we tell cmake to treat it as a source file and it will do the right thing for both the ninja and visual studio generators. Differential Revision: https://developer.blender.org/D6136 Reviewers: brecht
2019-12-05glTF: upgrade Draco to version 1.3.5 and add mesh skinning supportJim Eckerlein
This will fix exporting meshes with armatures using Draco compression, like: https://github.com/KhronosGroup/glTF-Blender-IO/issues/617 Differential Revision: https://developer.blender.org/D6342
2019-12-05Cleanup: Workbench: Remove Double negationClément Foucault
2019-12-05Workbench: Fix missing Clipping state when usint Alt+B clippingClément Foucault
Also make the code a bit more clear.
2019-12-05UI: Add tooltips for modifiersSybren A. Stüvel
When adding a modifier to an object, the drop-down select box has the same mouse-over tooltip for each modifier type: "Add a procedural operation/effect to the active object". This isn't helpful when you don't know what the modifier does from just reading the name. This patch adds descriptions for most modifier types, so that it's clearer what the modifiers do. The text was provided by @werwack after discussion on DevTalk[1] and taken from the Blender Manual, and subsequently updated by @billreynish and @HooglyBoogly. Not all modifiers have a short one-line description in the manual, hence those are still missing in this patch. [1] https://devtalk.blender.org/t/ui-contextual-modifier-description-in-the-tooltips-of-the-add-modifier-dialog-window/10382 Reviewed By: billreynish Differential Revision: https://developer.blender.org/D6352
2019-12-05Overlay Engine: Fix unreported crash on startup caused by new shaderClément Foucault
2019-12-05Fix T63766: Multiresolution behavior when using crease edgeSergey Sharybin
Switch to Gregory basis patches which are tangent continuous across their boundaries. Originally we've used BSpline basis patches to be more compatible with the old subdivision code, but a lot of things changed anyway.
2019-12-05Overlay Engine: Armature: Use Wire AA on custom bone loose edgesClément Foucault
2019-12-05Overlay Engine: Fix bone outline antialiasingClément Foucault
2019-12-05Fix T72169: "New File" loads UI, even when disabledCampbell Barton
Partially reverts b500f427009f0, callers now set this flag.
2019-12-05GPencil: Fix Stroke keeps selected when duplicate (unreported)Antonio Vazquez
When use `Shift+D` the original stroke was unselected only at stroke level, but not at point level and the edit line kept selected.
2019-12-05Overlay Engine: Fix crash in select mode with Lock Object Modes offClément Foucault
Fixes T72189: Crash when Lock Object Modes off and switching from Sculpt mode to Object mode
2019-12-05Cleanup: Silent WarningsJeroen Bakker
Silent unused variable warnings introduced by recent changes in the overlay engine.
2019-12-05Fix T72154: Background Camera ImagesJeroen Bakker
The Camera Background Images uses a alpha under blending. For alpha under blending to work correctly the framebuffer containing the result of the render engine needs to be active (`DefaultFramebufferList.default_fb`) and the source blend color needs to be premultiplied with alpha. Due to recent refactoring this wasn't the case and it seemed that the background image was drawn in front of the scene. This patch sets the correct state so it seems to be drawn behind the scene. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6365
2019-12-05Revert "Fix T71576 Mesh error on mutimaterial Meshes on legacy nvidia drivers"Clément Foucault
This reverts commit cf77b67c459d481f6d8d34d13e14d22a6cad0842.
2019-12-05Overlay Engine: Outlines: Fix occluded alpha being too lowClément Foucault
2019-12-05Overlay Engine: Outlines: Bypass antialias path when not neededClément Foucault
Improve performance on low end hardware.
2019-12-05Fix T71576 Mesh error on mutimaterial Meshes on legacy nvidia driversClément Foucault
Differential Revision: https://developer.blender.org/D6351
2019-12-05Cleanup: Removes double notificationAntonio Vazquez
2019-12-05Fix T72182: Fade Layers Option does not work when activating a layer from ↵Antonio Vazquez
Dope Sheet or Outliner The layer was activated, but the datablock was not tagged to recalc GPU cache.
2019-12-05Fix T72175: DrawManager Crash Large ObjectsJeroen Bakker
Introduced by 9c337fcfe2a4 mistaken that `MeshExtract.use_threading` set to false means that no threading is used at all. This is not the case it will still perform threading for large objects, it will only run the different subtasks in serial. Fixed by scheduling the `lines_loose` in the task_pool after the rest have been executed. This is cleaner than the previous implementation as it sticks more to the actual design.
2019-12-05Industry Compat keymap: Use consistent shortcuts for sculpt mode maskingWilliam Reynish
Use Ctrl-A and Ctrl-Shift-A for 'selecting' and 'deselecting' via the masking operators.
2019-12-05Industry Compat keymap: Support scroll wheel zooming also while Alt is heldWilliam Reynish
Users are sometimes holding Alt to do view manipulation, in which case zooming with the scroll wheel would fail.
2019-12-05Industry Compat keymap: Fix Tweak tool in UV Editor (Unreported)William Reynish
The Tweak tool wasn't working - it would start to box select instead.
2019-12-05Industry Compat keymap: Support 1-4 keys for switching selection modes in ↵William Reynish
the UV Editor This is consistent with the 3d View. Oversight pointed out by users on the forums.
2019-12-05Overlay Engine: Cleanup & enable line AA on in front passesClément Foucault
- Remove pd->view_default, was a leftover from TAA implementation - Sanitize active_view switches. - Sanitize framebuffers switches.
2019-12-05Overlay Engine: Add back selectability of planar lightprobe data planeClément Foucault
2019-12-05Overlay Engine: LightProbe: Simplify drawing of irradiance grid dataClément Foucault
This separates it from the outline pass and fix a visibility bug when extras were off.
2019-12-05Overlay Engine: Outline: Simplify drawing codeClément Foucault
Use obinfo ubo to compute outline color id. Note this commit removes the planar probe outline on purpose.
2019-12-05Overlay Engine: Simplify outline rendering by using the antialiasing passClément Foucault
This use the overlay AA pass to antialias the selection outlines. This also do all search and expand in one pass and reduce the computation time and memory used (2 x 32bit/pixel buffer less). Note that the aliasing is a bit worse than the old FXAA that we used to have.
2019-12-04Fix macOS bundling error with latest release, increase DMG disk space a littleBrecht Van Lommel
Also adds more verbose output when notarization fails.
2019-12-04Fix T72076: Edit mode circle selection inconsistency with animationmano-wii
The solution is to check for updates on `data->recalc`.
2019-12-04Make curve decimation only take into account the selected curve pointsSebastian Parborg
Previously the decimation would take the whole curve into account when decimating and not just the selected part. This also contains various smaller bug fixes for the fcurve decimation. Reviewed By: Sybren Differential Revision: http://developer.blender.org/D6286