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
2021-08-09Build: macOS library upgrade fixesBrecht Van Lommel
* Revert back to OpenMP 9.0.1 due to bug causing cloth physics test to fail. * Skip flex build on macOS to avoid link error, only reason we build this is due to old flex version on Linux CentOS 7. * Fix PNG cmake argument that expects lowercase on instead of ON. Ref T90507, T88438
2021-08-09Cleanup: Fix compiler warningAntonio Vazquez
2021-08-09PyAPI: resolve build error with Python 3.10Campbell Barton
Resolves T89931
2021-08-09Cleanup: spelling in commentsCampbell Barton
2021-08-09Cleanup/fixes in UI messages.Bastien Montagne
2021-08-09Cleanup: Spelling and typos in commentSergey Sharybin
2021-08-09Cleanup: Changed keyframe_keylist to CPP.Jeroen Bakker
Just a straight-forward change. Not utilizing CPP features.
2021-08-09Cleanup: filelist, pass `FileListReadJob` to job functionsSybren A. Stüvel
Pass `FileListReadJob` to the `read_job_fn` callback, instead of exploding the struct into its individual fields, passing those as parameters, and marking a bunch of those as unused again. No functional changes.
2021-08-09Fix invalid helps and description of session UUID verificationSergey Sharybin
A copy-paste error.
2021-08-09Fix depsgraph check for tag during evaluationSergey Sharybin
- Only do print when asked for tags debugging. - Add missing newline to the message.
2021-08-09Fix T90540: NoneType object error with entering grease pencil draw modeAntonio Vazquez
The preview was not ready when the panel was displayed. Just need to check if None.
2021-08-09Cleanup: document `FileListReadJob::tmp_filelist`Sybren A. Stüvel
Add a comment to document what `FileListReadJob::tmp_filelist` is for, and how it's freed. No functional changes.
2021-08-09Fix T90532: Crash editing meshes with auto-smoothCampbell Barton
Caused by fix for T90256 and a misunderstanding in D11928. Don't skip tagging edges when the auto-smooth angle is 180 degrees since this skips topology checks which are needed for properly calculating edge loop normals.
2021-08-09Fix T90511: Cycles preview does not update once preview is doneSergey Sharybin
Caused by 4f64fa4f8628. Was a bad backport from the Cycles X branch: the fact that CPU and GPU has different reset code paths was not taken into account.
2021-08-09Cleanup: return True/False from gpencil toolbar functionCampbell Barton
This was returning None/False which could cause problems in the future.
2021-08-09Cleanup: indentationCampbell Barton
2021-08-09Cleanup: use 'cls' for class methods first argumentCampbell Barton
2021-08-09Cleanup: remove redundant importsCampbell Barton
The module was importing it's own functions.
2021-08-09Fix text object inserting multiple characters with a selectionYuki Hashimoto
`bpy.ops.font.text_insert(text="multiple characters")` wasn't working. When the text is selected does not correctly insert multiple characters. - When the text was selected from left to right, the cursor only move one position next to the selected text. - When the text is selected from right to left, a part of the selected text remain. Ref D12161
2021-08-09Cleanup: grease pencil app-template versioningCampbell Barton
- Remove check for screens being None as this would raise an error. - Replace loop over `area.spaces` with `area.spaces.active`. - Loop over grease pencil data directly instead of accessing through the scenes objects. - Split versioning into functions. - Use `update_factory_startup_*` prefix for function names as this isn't versioning existing files.
2021-08-09Cleanup: avoid using context in versioning codeCampbell Barton
Also extract versioning into a function that makes it's purpose clear.
2021-08-08UI: Show Mask Display Options ConistentlyAaron Carlisle
This commit makes the display options for mask only show in the header for the clip and image editors. Prior to this change they would display in the header for the clip editor and in the sidebar for the image editors.
2021-08-08UI: Sequencer: Fix placement of display options in sequencer & preview modeAaron Carlisle
This commit does two things, first it removes the proportional editing tool settings. This is not accessible code and is has not been used since the grease pencil/annotations changes in 2.8. Second, this patch reorders the if statements so that the display options are always shown on the rightside. Reviewed By: antoniov Differential Revision: https://developer.blender.org/D12163
2021-08-08Cleanup: Remove stale/dead codeAaron Carlisle
This seems to be really old code from 2.4 or earlier. I was unable to find when it was removed gitk and git blame both couldnt find anything. However, it is safe to say that this code is long gone.
2021-08-08Cleanup: Fix comment typoAntonio Vazquez
2021-08-08GPencil: Fix memory leak in previous commitAntonio Vazquez
2021-08-08GPencil: New Select Random operatorAntonio Vazquez
Select strokes or points randomly (similar to meshes). Reviewed By: pepeland Differential Revision: https://developer.blender.org/D12157
2021-08-07Cleanup: unnecessary double pointers in XR modulePeter Kim
No functional changes.
2021-08-07PyDoc: Fix poll_message_set API documentation to consistent with Python stylenutti
Fix poll_message_set API documentation to consistent with Python style Reviewed By: Blendify Differential Revision: https://developer.blender.org/D12150
2021-08-06Windows: Add support to compile python api docs from make fileAaron Carlisle
This adds support to compile the html python api docs from the command line by running `make doc_py` matching support between windows and unix. This patch also makes it so the compiler is not needed if you set the `blender_bin` variable, this affects icon generation as well. In the future, I want to move away from generating the build output in the build directory but that can come in a later change. Reviewed By: LazyDodo Differential Revision: https://developer.blender.org/D12144
2021-08-06Fix T90477: Cursor vertex snapping not working in UV editorGermano Cavalcante
`t->obedit_type` is read to indicate if we are in uv edit mode. Also fixes a crash introduced in {rBdd14ea18190ff27082009f73a556569a43377a71}.
2021-08-06Cycles: Fix for possible viewport dead-lockSergey Sharybin
This is a backport of recent development in the Cycles X branch. Fixes possible dead-lock in viewport rendering when exiting at an exact bad moment (couldn't reproduce in master branch, but in the cycles-x branch it was happening every now and then). Differential Revision: https://developer.blender.org/D12154
2021-08-06Cleanup: Use conventional naming for private Session membersSergey Sharybin
Makes it consistent with the guidelines and the Cycles X branch, and allows to backport fix for the viewport update from the branch. Will cause a merge conflict, which should be simple accept-ours in the branch.
2021-08-06Cleanup: Add missing newline at end of fileAntonio Vazquez
2021-08-06Move NanoSVG lib to externAntonio Vazquez
The library has some modifications and it has been included in a diff. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D12142 (Some minor changes done in the patch)
2021-08-06Cleanup: rename `FileList::asset_library` → `asset_library_ref`Sybren A. Stüvel
In the `FileList` struct, rename the `AssetLibraryReference *asset_library` field to `asset_library_ref` -- it's a description of which asset library is used, and not the asset library itself. This is to make space for a future `AssetLibrary *asset_library` field, which will point to an actual asset library struct/class. No functional changes. Reviewed by: Severin Differential Revision: https://developer.blender.org/D12151
2021-08-06Fix error setting the ID name in disabled alembic nurbs importeCampbell Barton
This corrects code that's currently disabled, see `USE_NURBS` define. The name passed to `BKE_curve_add` was overwritten, bypassing uniqueness and utf8 encoding checks. Longer names would cause a buffer overrun as the length of the source data was passed to `BLI_strncpy` instead of the destination. Reviewed By: sybren Ref D12125
2021-08-06Fix shortcut for Asset Details not showing in Asset Browser pulldownJulian Eisel
The shortcut wouldn't show up in the Asset Browser's "View" pulldown for the "Asset Details" item. It's the "N" key to toggle the right sidebar.
2021-08-06Fix T90476: intermittent wrong generated texture coordinates with modifiersBrecht Van Lommel
This caused Cycles texture_space_mesh_modifier and panorama_dicing tests to randomly fail. The issue was introduced with D11377, due to a missing dependency. Now ensure we first copy the texture space parameters, and only then use or recompute then. In general it seems like this dependency should have already been there, since parameter evaluation includes animation and drivers, and geometry evaluation may depend on that (even if you would not typically animate e.g. an autosmooth angle). Thanks Campbell for tracking this one down.
2021-08-06Cleanup: rna_xr.cPeter Kim
- Rename functions to use RNA identifiers - Use SET_FLAG_FROM_TEST macro - Specify max string length for relevant function params
2021-08-06Fix missing function param definition in rna_xr.cPeter Kim
Was accidentally left out in rBe844e9e8f3bb.
2021-08-06Fix invalid XR action map indices after allocPeter Kim
Although the relevant structs (wmXrRuntime/XrActionMap/ XrActionMapItem) are zero-allocated, the selected and active action map indices need to be initialized to -1 to prevent potential out-of-bounds list access.
2021-08-06Cleanup: clang tidyJacques Lucke
`bugprone-signed-char-misuse`
2021-08-06Cleanup: use const result in `ED_keyframes_find_*` functions.Jeroen Bakker
2021-08-06Cleanup: use range2f in `ED_keylist_find_any_between`.Jeroen Bakker
2021-08-06Cleanup: const pass `keyframes_keylist`.Jeroen Bakker
2021-08-06Cleanup: use MEM_SAFE_FREE macroCampbell Barton
2021-08-06Fix memory leak from rB263fa406cd2bHans Goudey
2021-08-06Geometry Nodes: Select by Handle Type NodeHans Goudey
Just like the "Select by Material" node, this node outputs a boolean attribute for control points that have a matching handle type. By default left and right handles are considered, but it's possible to only check one side with the toggle in the node. Differential Revision: https://developer.blender.org/D12135
2021-08-06Fix: Avoid floating point error in some mesh primitive nodesMattias Fredriksson
Some mesh primitives created using geometry nodes use loops to create vertices and accumulates positions/angles in FP variables. This allows rounding errors to accumulate and can introduce significant errors. To minimize changes from original implementation, variables allowing errors to accumulate are replaced by: delta * index. Affected Mesh Primitives nodes are Line, Grid, Cylinder, Circle, Cone, and UV-Sphere. Differential Revision: https://developer.blender.org/D12136