Blender Git Commits

Blender Git "master" branch commits.

Page: 182 / 5574

August 9, 2021, 09:32 (GMT)
Cleanup: document `FileListReadJob::tmp_filelist`

Add a comment to document what `FileListReadJob::tmp_filelist` is for,
and how it's freed.

No functional changes.
August 9, 2021, 08:32 (GMT)
Fix T90532: Crash editing meshes with auto-smooth

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.
August 9, 2021, 08:28 (GMT)
Fix T90511: Cycles preview does not update once preview is done

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.
August 9, 2021, 05:05 (GMT)
Cleanup: return True/False from gpencil toolbar function

This was returning None/False which could cause problems in the future.
August 9, 2021, 05:03 (GMT)
Cleanup: indentation
August 9, 2021, 05:03 (GMT)
Cleanup: use 'cls' for class methods first argument
August 9, 2021, 05:02 (GMT)
Cleanup: remove redundant imports

The module was importing it's own functions.
August 9, 2021, 04:31 (GMT)
Fix text object inserting multiple characters with a selection

`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
August 9, 2021, 02:45 (GMT)
Cleanup: grease pencil app-template versioning

- 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.
August 9, 2021, 02:01 (GMT)
Cleanup: avoid using context in versioning code

Also extract versioning into a function that makes it's purpose clear.
August 8, 2021, 20:09 (GMT)
UI: Show Mask Display Options Conistently

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.
August 8, 2021, 17:30 (GMT)
UI: Sequencer: Fix placement of display options in sequencer & preview mode

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
August 8, 2021, 17:29 (GMT)
Cleanup: Remove stale/dead code

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.
August 8, 2021, 13:11 (GMT)
Cleanup: Fix comment typo

August 8, 2021, 13:09 (GMT)
GPencil: Fix memory leak in previous commit

August 8, 2021, 12:56 (GMT)
GPencil: New Select Random operator

Select strokes or points randomly (similar to meshes).

Reviewed By: pepeland

Differential Revision: https://developer.blender.org/D12157
Revision a7bb537 by Peter Kim
August 7, 2021, 12:30 (GMT)
Cleanup: unnecessary double pointers in XR module

No functional changes.
August 7, 2021, 00:18 (GMT)
PyDoc: Fix poll_message_set API documentation to consistent with Python style

Fix poll_message_set API documentation to consistent with Python style

Reviewed By: Blendify

Differential Revision: https://developer.blender.org/D12150
August 6, 2021, 17:55 (GMT)
Windows: Add support to compile python api docs from make file

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
August 6, 2021, 14:44 (GMT)
Fix T90477: Cursor vertex snapping not working in UV editor

`t->obedit_type` is read to indicate if we are in uv edit mode.

Also fixes a crash introduced in {rBdd14ea18190ff27082009f73a556569a43377a71}.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021