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-05-13Cleanup: spelling in comments, capitalize tagsCampbell Barton
Also add missing task-ID reference & remove colon after \note as it doesn't render properly in doxygen.
2022-05-12Cleanup: remove redundant float to byte conversion for stereo image savingBrecht Van Lommel
For non-stereo cases this is automatically handled by IMB_saveiff, no reason for stereo to do this separately. Ref D14899
2022-05-12Cleanup: remove redundant code and data copying image save as operatorBrecht Van Lommel
Store ImageSaveOptions directly in operator custom data instead of copying to/from a copy on the stack. Ref D14899
2022-05-12Cleanup: move image save options init to image_save.ccBrecht Van Lommel
The logic here is tightly coupled to the other image saving code. Ref D14899
2022-05-12Cleanup: remove unused function declarationBrecht Van Lommel
2022-05-12DRW: Fix Compilation on OSXClément Foucault
Caused by rBe4bb898e40ee
2022-05-12Metal: MTLState module implementation.Jason Fielder
MTLState module implementation and supporting functionality in MTLContext for state tracking, texture binding and sampler state caching. Ref T96261 Reviewed By: fclem Maniphest Tasks: T96261 Differential Revision: https://developer.blender.org/D14827
2022-05-12DRW: Port draw_shader to C++Clément Foucault
2022-05-12DRW: Port draw_hair to C++Clément Foucault
2022-05-12Cleanup: Remove unused gpu_shader_geometry.glslClément Foucault
2022-05-12UI: Tweak Sculpting Trim iconsDalai Felinto
Update the trim icons so they don't show a dashed line. Instead they have now a continuous red line. This is important because the sculpting tools are planning to use the same icons for selection as the regular tools. And those icons use dashed line to represent selection. Note the icon file has two new icons which are not used at the moment (they are in the Unused collection): * ops.generic.select_paint * ops.generic.select_line
2022-05-12Cleanup: Fix range loop construct warningHans Goudey
2022-05-12Merge branch 'blender-v3.2-release'Bastien Montagne
2022-05-12Cleanup: use proper naming in Warp modifier read/write code.Bastien Montagne
2022-05-12UI Code Quality: Use derived struct for hot-key buttonsJulian Eisel
`uiBut` contained a variable that was only used for these hot-key buttons. This may also help getting rid of the `UI_BUT_IMMEDIATE` flag, which is also only used for this button type. We are running out of available bits for flags, so this would be useful. Continuing the work from 49f088e2d093. Part of T74432.
2022-05-12Merge branch 'blender-v3.2-release'Bastien Montagne
2022-05-12Fix (unreported) bad memory access in read/write code of MeshDeform modifier.Bastien Montagne
This abuse of one one size value to handle another allocated array of a different size is bad in itself, but at least now read/write code of this modifier should not risk invalid memory access anymore. NOTE: invalid memory access would in practice only happen in case endian switch would be performed at read time I think (those switches only check for given length being non-zero, not for a NULL data pointer...).
2022-05-12Cleanup: Clarify function name and comment logicSergey Sharybin
This is a bit tricky exceptional case, which originates to an original motion tracking commit. Took a while to remember what it is ab out so here is a comment for the future developers.
2022-05-12Cleanup: Remove another unused hotkey button definition functionJulian Eisel
See f2c7b56f0f0eb9.
2022-05-12Cleanup: Remove unused hotkey button definition functionJulian Eisel
This isn't used, and I also see any use for it short-term.
2022-05-12Revert commits to increase button flag bitfield sizeJulian Eisel
This reverts the commits 8d9d5da13706b668b9bd0d631e00c9b00b73f3ea, 59cd616534b46ab85b4324a0886bd9eb8876a48b and 98a04ed4524234b1840dc039c2f356db5ac57f26. The commits are causing issues with MSVC, see D14926. I'm working on a different solution, but that will need some work.
2022-05-12CMake: Fix missing dependency in bf_editor_curvesMartijn Versteegh
curves_ops.cc uses RNA_Prototypes.h. so bf_rna needs to build before bf_editor_curves.
2022-05-12Fix T98071: Overlay: UV selection inverted bewteen vertex and edge selectClément Foucault
Self describing title. Also remove the layout inside the geometry shader as they are now generated by the backend.
2022-05-12Fix T98026 EEVEE: Refression Crash when rendering Cryptomatte passesClément Foucault
This was because the main `surface_vert.glsl` was changed to accomodate the needs of the `ShaderCreateInfo` but was still used by the cryptomatte shader. The fix is to include the same libraries as the material shaders and bypass `attrib_load()`.
2022-05-12Merge branch 'blender-v3.2-release'Jacques Lucke
2022-05-12Workaround for msvc compiler bugJacques Lucke
https://developercommunity.visualstudio.com/t/Alias-template-inside-fold-expression-fa/10040507
2022-05-12Cleanup: remove warnings due to maybe-used variablesJacques Lucke
The variable was only used in some constexpr if-statements.
2022-05-12Curves: add operator to convert hair particle system to new curvesJacques Lucke
This creates a new curves object with the name of the particle system. The generated curves match the current evaluated state of the active hair particle system. Attachment information is not transferred currently. Differential Revision: https://developer.blender.org/D14908
2022-05-12OBJ: improve new importer file parsing performance on windowsAras Pranckevicius
The OBJ parser was primarily using StringRef for convenience, with functions like "skip whitespace" or "parse a number" taking an input stringref, representing an input line, and returning a new stringref, representing the remainder of the line. This is convenient, but does more work than strictly needed -- while parsing, only the "beginning" of the line ever changes by moving forward; the end of the line always stays the same. We can change the code to take a pair of pointers (begin of line, end of line) as input, and make the functions return the new begin of line pointer. This makes the return value neatly fit into a processor register, which StringRef did not. On Windows, this does result in non-trivial speedups in the actual OBJ file parsing part, due to Windows calling convention where return values larger than 64 bits are returned via memory. Does not measurably affect performance on Mac/Linux, because the calling convention there uses a pair of 64-bit registers to return a StringRef. End-to-end times of importing several test files, on Windows (VS2022 build, Ryzen 5950X): - Monkey subdivided to level 6, no normals (220MB file): 1.25s -> 0.85s - Rungholt minecraft level (270MB file): 7.0s -> 5.8s - Blender 3 splash scene (2.4GB file): 49.1s -> 45.5s The full import process has a lot of other overhead besides actual OBJ file parsing (mostly creating actual blender objects out of parsed data). In pure parsing, in the monkey test scene above, the parsing part goes 1.0s -> 0.6s. Reviewed By: Howard Trickey Differential Revision: https://developer.blender.org/D14936
2022-05-12Fix T97380 EEVEE: Weird motion-blur on curvesClément Foucault
This was caused by the `mb_data->obmat[]` being wrong because they are now shared between the particle system and the object. But Hair need the dupli parent matrix instead of the object matrix. Disabling `Show Emitter` option fixes the bug. To avoid this problem, request a different `EEVEE_ObjectMotionData` for particle systems using a different key pointer in the hash. This is a bit dirty but there is less code polution using this workaround. Differential Revision: https://developer.blender.org/D14911
2022-05-12Cleanup: De-duplicate region visibility logic in clip editorSergey Sharybin
2022-05-12Merge branch 'blender-v3.2-release'Campbell Barton
2022-05-12Fix error tagging vertices as loose in the screw modifierCampbell Barton
Regression in 90a23dec4650d63a836cb9e9969aab4d0da4ba2f.
2022-05-12Merge branch 'blender-v3.2-release'Hans Goudey
2022-05-12Curves: Add notifier to update spreadsheet when sculptingDalai Felinto
2022-05-12Screw Modifier: avoid unnecessary normal calculationCampbell Barton
Normals were being allocated, calculated & freed when the spin modified merged was enabled.
2022-05-12Cleanup: Use stronger typing in marker slide operatorSergey Sharybin
2022-05-12Cleanup: Hide slide operator specific logicSergey Sharybin
Use a more semantically clear function in the tracking API.
2022-05-12Cleanup: Reduce indentation level in track slide operatorSergey Sharybin
2022-05-12Cleanup: Refactor marker area clampingSergey Sharybin
Switch from a single function with a lot of branching at its top level to dedicated function calls with own documentation.
2022-05-12Cleanup: Remove redundant marker clamping code pathSergey Sharybin
Pattern is expected to be freely resized to any size, and the search area s to become bigger when needed. Remove confusing pattern size clamping which was actually clamping search area. There should be no functional changes.
2022-05-12Cleanup: Strong type for track path clear APISergey Sharybin
Replace a generic int value with an enum. Should be no functional changes.
2022-05-12Cleanup: Move tracking constants to be printable enumsSergey Sharybin
Replace old-style define with an enumerator values. Also move to the top of the file preparing for making those stronger typed.
2022-05-12Cleanup: More proper sections in tracking codeSergey Sharybin
Follows the code style
2022-05-12Cleanup: More proper sections in subdiv codeSergey Sharybin
Follows the code style.
2022-05-12Fix: Paint slot material assignment issuesEthan Hall
There are two problems when adding a paint slot to an object without an existing material. First, the `invoke` method creates a material on the object. This modifies the object even if the operation is not executed. Second, the fill color defaults to black when there is no existing material (even when adding a normal, bump, or displacement layer). This patch moves the material creation to the `exec` method. When no material exists on the object, a default Principled BSDF is referenced for default colors in the `invoke` method. Differential Revision: https://developer.blender.org/D14828
2022-05-12Merge branch 'blender-v3.2-release'Hans Goudey
2022-05-12Fix T98056: Screw modifier crash with normal calculation and mergingHans Goudey
If merging is enabled, the mesh might be recreated before the dirty flag can be cleared, which means the normals aren't valid anymore. To fix this, clearing the dirty flag should happen before the merging. This is an existing bug, just exposed by more recent explicit dirty normal tagging.
2022-05-12Merge branch 'blender-v3.2-release'Joseph Eagar
2022-05-12color attributes: Fix broken vertex color nodeJoseph Eagar
Fall back onto the old behavior (use the render color attribute) if the vertex color node's attribute name is blank.