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
2022-01-31Cleanup: use our own conventions for tags in commentsCampbell Barton
2022-01-31Cleanup: Remove unused DerivedMesh normal handlingHans Goudey
This function and flags weren't used outside of DerivedMesh code, and since the plan is to remove the data structure, it makes sense to remove complexity where possible.
2022-01-31Fix T95336: Wrong tooltip for Show Only on Keyframed checkboxAntonio Vazquez
The "Paint" mode is wrong, must be "Draw"
2022-01-30Speed up the new OBJ exporter via bigger write buffer and parallelization.Aras Pranckevicius
This is a patch from Aras Pranckevicius, D13927. See that patch for full details. On Windows, the many small fprintfs were taking up a large amount of time and significant speedup comes from using snprintf into chained buffers, and writing them all out later. On both Windows and Linux, parallelizing the processing by Object can also lead to a significant increase in speed. The 3.0 splash screen scene exports 8 times faster than the current C++ exporter on a Windows machine with 32 threads, and 5.8 times faster on a Linux machine with 48 threads. There is admittedly more memory usage for this, but it is still using 25 times less memory than the old python exporter on the 3.0 splash screen scene, so this seems an acceptable tradeoff. If use cases come up for exporting obj files that exceed the memory size of users, a flag could be added to not parallelize and write the buffers out every so often.
2022-01-30Merge branch 'blender-v3.1-release'Howard Trickey
2022-01-30Fix T95328, new obj exporter not exporting custom normals.Aras Pranckevicius
Previously, the new obj exporter was only exporting per-vertex normals for faces marked as "smooth". But a face can have custom normals, as soon as the normals data layer exists. This change makes it follow the behavior of USD & Collada exporters and the old Python one, which also export per-vertex normals as soon as the layer is there. (From Patch D13957.)
2022-01-30Revert "UI: Do not translate "Blender""Aaron Carlisle
See rB0c5a9a0e776eeb724f7266694153f98721e34fde for the issue with this. This reverts commit 0c5a9a0e776eeb724f7266694153f98721e34fde.
2022-01-30Cleanup: Remove modifier type hair callbackHans Goudey
This is similar to e032ca2e25bf2e305b66 which removed the callback for volumes. Now that we have geometry sets, there is no need to define a callback for every data type, and this wasn't used. Procedural curves/hair editing will use nodes rather than new modifier types anyway.
2022-01-30UI: Do not translate "Blender"Aaron Carlisle
Blender is the name of the software, it does not make sense to translate into a language's term for the kitchen appliance.
2022-01-30Cleanup: Pass cursor position as a single array to eyedropper functionsAaron Carlisle
Since `event->xy` is now an array these functions can be simplified to accept the sample point as an array. Clarifications were also made to variable names: - `eye->last_x/y` --> `eye->cursor_last` - `mx/my` --> `cursor` Differential Revision: https://developer.blender.org/D13671
2022-01-30Merge remote-tracking branch 'origin/blender-v3.1-release'Kévin Dietrich
2022-01-30Fix T95315: "Override Layers" panel open crash with null CacheFileKévin Dietrich
2022-01-30Cleanup: Cmake: remove unnecessary definitions for internationalizationAaron Carlisle
Previously, macros were ifdefed using the cmake option `WITH_INTERNATIONAL` However, the is unnecessary as withen the functions themselves have checks for building without internationalization. This also means that many `add_definitions(-DWITH_INTERNATIONAL)` are also unnecessary. Reviewed By: mont29, LazyDodo Differential Revision: https://developer.blender.org/D13929
2022-01-29Merge branch 'blender-v3.1-release'Aaron Carlisle
2022-01-29Fix: Eevee: Float Curve node causes issues with compiled shaderAaron Carlisle
This fixes a regression from rBa0edee712a79239133ff840f911f6416d4c41855. Issue being the curve map not being initialized in the GPU shader function. Fixes T95221
2022-01-29Fix: Eevee: Float Curve node causes issues with compiled shaderAaron Carlisle
This fixes a regression from rBa0edee712a79239133ff840f911f6416d4c41855. Issue being the curve map not being initialized in the GPU shader function. Fixes T95221
2022-01-29Cleanup: Remove mesh vertex "temp tag" flagHans Goudey
As part of the project of converting `MVert` into `float3` (more details in T93602), this is an easy step, since it is only locally used runtime data. In the six places it was used, the flag was replaced by a local bitmap. By itself this change has no benefits other than making some code slightly simpler. It only really matters when the other flags are removed and it can be removed from `MVert` along with the bevel weight. Differential Revision: https://developer.blender.org/D13878
2022-01-29Merge branch 'blender-v3.1-release'Richard Antalik
2022-01-29Fix memory leak when adding movie stripsRichard Antalik
Introduced by b45e71e22cc7.
2022-01-29Merge branch 'blender-v3.1-release'Hans Goudey
2022-01-29Fix T94476: Threading/performance issue with curve to points nodeHans Goudey
For every spline, *all* of the normals and tangents in the output were normalized. The node is multithreaded, so sometimes a thread overwrote the normalized result from another thread. Fixing this problem also made the node orders of magnitude faster when there are many splines.
2022-01-29Fix T62651: Win32 Multiple Adapters WarningHarley Acheson
Show a more instructive error message for users who have plugged multiple monitors into multiple display adapters. And do not exit if unable to open a child window when in this state. See D13885 for more details Differential Revision: https://developer.blender.org/D13885 Reviewed by Ray Molenkamp
2022-01-29Merge branch 'blender-v3.1-release'Clément Foucault
2022-01-29Fix typos in rB0a8fa07735cdb89081b652c032c73863e34f8ff1Clément Foucault
2022-01-29Merge branch 'blender-v3.1-release'Clément Foucault
2022-01-29Fix T95278: Crash on startup because of GLSL compiler bugClément Foucault
The GLSL defines used to make the uniform names unusable for local variable is being interpreted as recursive on some implementation. This avoids it by create a second macro avoiding the recursion.
2022-01-29Fix T93626: Win IME Chinese Numpad DecimalHarley Acheson
Allow Windows IME Pinyin, when in Chinese mode, to use numpad decimal key to enter decimal point. See D13902 for more details. Differential Revision: https://developer.blender.org/D13902 Reviewed by Brecht Van Lommel
2022-01-29Win IME: Ideographic Full Stop to Decimal PointHarley Acheson
Convert Ideographic Full Stop, used in Simplified Chinese and Japanese, to Decimal Point when entering numbers into numerical inputs. See D13903 for more details Differential Revision: https://developer.blender.org/D13903 Reviewed by Brecht Van Lommel
2022-01-28UI: Add OneDrive to System List for WindowsHarley Acheson
This patch adds a "OneDrive" icon to the File Manager System list for Windows (only!). See D11133 for more details. Differential Revision: https://developer.blender.org/D11133 Reviewed by Julian Eisel
2022-01-28Win32: Initialize GHOST_WindowWin32 MembersHarley Acheson
Initialize m_Bar, m_dropTarget, & m_hWnd members of GHOST_WindowWin32 in constructor's member initializer list. This ensures they are are set or NULL in destructor if constructor does not complete. See D13886 for more details. Differential Revision: https://developer.blender.org/D13886 Reviewed by Jesse Yurkovich
2022-01-28Fix Cycles assert in light samplingBrecht Van Lommel
There is no object transform on lights.
2022-01-28Merge branch 'blender-v3.1-release'Hans Goudey
2022-01-28UI: Use property split in new operator popupHans Goudey
This attribute conversion operator was just added. The UI looks more consistent with property split.
2022-01-28Drag & drop: Support using context of hovered button when droppingJulian Eisel
Buttons can hold context and it's very useful to use this as a way to let buttons provide context for drop operators. For example, with this D13549 can make the material slot list set the material-slot pointer for each row, and the drop operator can just query that.
2022-01-28Cleanup: Clang-tidy warning gl_shader.ccJeroen Bakker
2022-01-28Cleanup: Clang-tidy warnings.Jeroen Bakker
Silence Clang-tidy warnings in gpu module.
2022-01-28Merge branch 'blender-v3.1-release'Jeroen Bakker
2022-01-28Image Engine: Remove unused shader parameter Color.Jeroen Bakker
This change removes an unused shader parameter that also collided when a local varialble with the same name was used on different platforms.
2022-01-28Image Engine: Use GPUShaderCreateInfo.Jeroen Bakker
Ported the image engine shaders to use the GPUShaderCreateInfo struct. No functional changes.
2022-01-28Merge branch 'blender-v3.1-release'Sergey Sharybin
2022-01-28Fix insufficient CPU flags checks for Cycles OIDNSergey Sharybin
Sometime throughout development some checks got lost during refactor. This change makes it so that if OIDN is not supported on the current CPU Cycles will report an error and stop rendering. This behavior is similar to when an OptiX denoiser is requested and there is no OptiX compatible device available. The easiest way to verify this change is to force return false from the `openimagedenoise_supported()`. Fixes Cycles part of the T94127. Differential Revision: https://developer.blender.org/D13944
2022-01-28Fix compilation error in previous commit.Jeroen Bakker
2022-01-28Remove compilation warnings TexResult.Jeroen Bakker
2022-01-28Fix overread warning in screen operatorJulian Eisel
Fixes a `stringop-overread` warning, other people are working on fixing some more :)
2022-01-28Silent compilation warning in space_graph.Jeroen Bakker
2022-01-28Image engine: Remove unused parameter.Jeroen Bakker
Parameter was used to still be compatible with the previous drawing mode. The previous mode isn't available anymore so the parameter can should be removed.
2022-01-28Image Engine: Fix issue show alpha flag not reset.Jeroen Bakker
After showing the alpha in the image editor the setting was not reset so all images in the editor showed as being transparent. This commit fixes this by resetting the flag before updating.
2022-01-28Draw: Remove unused code in image engine shader.Jeroen Bakker
2022-01-28Revert "3.1 splashscreen"Thomas Dinges
This reverts commit 3aa56608f76ced34854841b0ad4e228d787e3673.
2022-01-28Merge branch 'blender-v3.1-release'Thomas Dinges