Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 516 / 5574

October 29, 2020, 13:23 (GMT)
Cleanup: remove unused Blender Internal render stats code
October 29, 2020, 11:31 (GMT)
Anim UI: Playback Sync menu improvement

Relabel the Playback Synchronisation menu so that it's clear:
- what does happen (instead of describing what does //not// happen), and
- that the synchronisation options don't just affect audio.

The changes are:
- Change label from "Audio" to "Sync"
- Change the labels of the sync enum:
- No Sync ? Play Every Frame
- Frame Dropping stays the same
- AV-sync ? Sync to Audio

The "Audio" label has moved one option down, as that option does
actually relate to audio.

Reviewed By: looch, Severin, HooglyBoogly, campbellbarton

Differential Revision: https://developer.blender.org/D9269
October 29, 2020, 10:38 (GMT)
Cleanup: spelling
October 29, 2020, 10:11 (GMT)
UI: use "Save As" when saving un-saved image/text files

Now the behaviors are consistent for blend, image and text files:

- If the file is not writable, will report it.
- If the file is new (without a path), save as will be used.
- If the file was deleted, will try to recreate it.

Ref D6755
October 29, 2020, 09:19 (GMT)
Libmv: Fix clang inconsistent-missing-override warnings.

Reviewed By: sergey, ankitm

Differential Revision: https://developer.blender.org/D9377
October 29, 2020, 09:05 (GMT)
Merge branch 'blender-v2.91-release'
October 29, 2020, 09:03 (GMT)
RNA properties subtypes enum: sync definitions everywhere

Some subtypes never made it to all neccessary places when they were
introduced. This was throwing warnings when accessing such a properties
subtype from python.

The sub_type enums were also defined in 4 different places:
- RNA_types.h 'PropertySubType'
- rna_rna.c 'rna_enum_property_subtype_items'
- rna_rna.c 'subtype_items'
- bpy_props.c as multiple enums

This patch syncs the definitions across all places so that they are the
same everywhere. It also looks redundant to define these twice in
rna_rna.c, now just use 'rna_enum_property_subtype_items' there (and get
rid off 'subtype_items').

Also moved 'POWER' & 'TEMPERATURE' to number enum in bpy_props (these
were defined in the array enum).

Fixes T82167.

Maniphest Tasks: T82167

Differential Revision: https://developer.blender.org/D9371
October 29, 2020, 08:47 (GMT)
Fix T82188: Sculpt Grab Silhouette and symmetry fails

Wasnt checking the symmetrized 'grab_delta_symmetry' so result could
flip around.

Maniphest Tasks: T82188

Differential Revision: https://developer.blender.org/D9373
October 29, 2020, 08:45 (GMT)
Merge branch 'blender-v2.91-release'
October 29, 2020, 08:41 (GMT)
CustomData color copying: use interpolated alpha

The alpha of the first layer was always used
here since introduction in rBee4453f08369 and was not updated when
customdata support for alpha was added.

Now also use the interpolated alpha.

thx @brecht noticing!

ref T81914

Reviewers: brecht, mont29

Maniphest Tasks: T81914

Differential Revision: https://developer.blender.org/D9358
October 29, 2020, 08:27 (GMT)
Fix blend_color_interpolate_byte returning wrong alpha in certain case

When the combined alpha [the 'tmp' variable having the mixfactor applied
already] - reached zero it was handled like a no-op (for the alpha as
well) and just copied the first color.

So e.g mixing 255/255/255/255 with 0/0/0/0 with a factor of 1.0 gave
alpha of 255, which looks wrong.

cases where tmp gets zero:
src1 alpha:0 src2 alpha:whatever mixfactor 0.0
src1 alpha:whatever src2 alpha:0 mixfactor 1.0
src1 alpha:0 src2 alpha:0 mixfactor whatever

Now set alpha to zero in that case.

ref T81914

Maniphest Tasks: T81914

Differential Revision: https://developer.blender.org/D9357
October 29, 2020, 02:15 (GMT)
Merge branch 'blender-v2.91-release'
October 29, 2020, 01:45 (GMT)
Fix 3D smooth-view ignoring lens when exiting camera view

Add NULL checks for `sview->ofs`, while it's currently never NULL
when a camera is set. The API allows for each member
to be set independently.
October 29, 2020, 00:29 (GMT)
Merge branch 'blender-v2.91-release'
October 29, 2020, 00:22 (GMT)
PyAPI: point sys.executable to the Python binary

`sys.executable` is documented to be a Python interpreter or None.

This was set to Blender's executable which caused the multiprocessing
module to spawn new instances of Blender instead of Python on WIN32.
See issue described in D7815.

Deprecate 'bpy.app.binary_path_python' & warn when using.

Blender's executable remains accessible via `bpy.app.binary_path`.

Modified 04c5471ceefb4, setting `sys.executable` instead of using
Py_SetProgramName, which is needed for a bundled Python installation.
October 28, 2020, 23:40 (GMT)
Fix for T65714: Pinch Zooming Crash using Mac Trackpad

Ensure that Zoom does not crash on Mac Trackpad by checking for existence of Continuous Zoom timer.

Differential Revision: https://developer.blender.org/D8682

Reviewed by Julian Eisel
October 28, 2020, 23:22 (GMT)
UI: Improvements to Close File Dialog

Improved alignment of items on the File Close Dialog.

Differential Revision: https://developer.blender.org/D6938

Reviewed by Hans Goudey
October 28, 2020, 23:01 (GMT)
UI: Improved alignment of labels and buttons

Improved alignment of labels with other buttons.

Differential Revision: https://developer.blender.org/D9058

Reviewed by Julian Eisel
October 28, 2020, 19:15 (GMT)
Mesh: Fix BKE_mesh_translate changes referenced layer

This is the same fix that is implemented in rB3791dbea1e79.
October 28, 2020, 18:06 (GMT)
Animation: Improve labels on Snap menu in NLA & Dopesheet

Add "Selection to" as prefix for those menu items that move the selected
keyframes to something, for both the Key ? Snap menu and the Shift+S pie
menu.

No functional changes.

This was missed in rB477d983c2e8ab298cbf638d5aadd77fad9c2f677

Differential Revision: https://developer.blender.org/D9304
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021