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-31Merge branch 'master' into soc-2021-porting-modifiers-to-nodes-decimatesoc-2021-porting-modifiers-to-nodes-decimateFabian Schempp
2022-01-31updated to fields workflowFabian Schempp
2022-01-31XR: Print OpenXR SDK version in --debug-xr modePeter Kim
Helps with version validation when updating the OpenXR dependency.
2022-01-31Fix wmTimer.ntime becoming NAN with a zero time-stepCampbell Barton
While this didn't cause any user visible bugs, this wouldn't have behaved as intended since the timer would never run again once wmTimer.ntime was set to NAN.
2022-01-31Cleanup: comments and minor changes to GPU_select codeCampbell Barton
- Remove outdated references to glReadPixels & OpenGL. - Rename GPUPickState.{gl => gpu} - Add doc-string for MAXPICKELEMS. - Use doxygen comments & other minor doc-string improvements.
2022-01-31Cleanup: use struct for GPU the select bufferCampbell Barton
GPU_select originally used GL_SELECT which defined the format for storing the selection result. Now this is no longer the case, define our own struct - making the code easier to follow: - Avoid having to deal with arrays in both `uint*` and `uint(*)[4]` multiplying offsets by 4 in some cases & not others. - No magic numbers for the offsets of depth & selection-ID. - No need to allocate unused members to match GL_SELECT (halving the buffer size).
2022-01-31Cleanup: use enum type for selection mode & internal algorithm enumCampbell Barton
2022-01-31Cleanup: Remove unused "_ex" version of functionHans Goudey
2022-01-31Cleanup: Remove unused DerivedMesh flagHans Goudey
The value of this flag was never used.
2022-01-31Cleanup: Remove unused DerivedMesh functionsHans Goudey
Remove functions and function pointers that were never set or never used at all. The "tessface" original index handling in `subsurf_ccg.c` can be removed because the data was never used.
2022-01-31Cleanup: spelling in commentsCampbell Barton
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 'master' into soc-2021-porting-modifiers-to-nodes-decimateFabian Schempp
# Conflicts: # release/scripts/startup/nodeitems_builtins.py # source/blender/blenkernel/BKE_node.h
2022-01-29Merge branch 'master' into soc-2021-porting-modifiers-to-nodes-decimateFabian Schempp
# Conflicts: # release/scripts/startup/nodeitems_builtins.py # source/blender/blenkernel/BKE_node.h # source/blender/blenkernel/intern/node.cc # source/blender/makesdna/DNA_node_types.h # source/blender/makesrna/intern/rna_nodetree.c # source/blender/nodes/CMakeLists.txt # source/blender/nodes/NOD_geometry.h # source/blender/nodes/NOD_static_types.h
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