Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 535 / 5574

October 16, 2020, 15:18 (GMT)
Fix misuse of alloc inside a loop

Alloc will only free its memory when the function is returned.

Issue introduced in c866075dfbd9. Thanks Sergey for spotting this.
October 16, 2020, 14:44 (GMT)
Animation: Snap Cursor Value operator

Add operator to snap the 2D Cursor value to selected keyframes. This is
doing almost the same as the "Cursor to Selected" operator, except that
it doesn't affect the current frame, just the Y-coordinate (the value)
of the 2D cursor.

The "snap cursor" operators are added to the Key ? Snap menu and to the
Snap pie menu. This means that these menus are now extended in meaning,
to not only mean "snap the selected keyframes to the cursor", but also
for some options "snap the cursor to selected keyframes".

This fixes T76596.
October 16, 2020, 14:09 (GMT)
Cleanup: Animation, split up frame jump operator

Split up `GRAPH_OT_frame_jump` exec function and added some local variables
to give names to the cryptic `ked.f1`, `ked.f2`, and `ked.i1`.

No functional changes.
October 16, 2020, 13:33 (GMT)
Cleanup: clang-tidy
October 16, 2020, 13:22 (GMT)
Fix (reported by studio team) crash in relocate lib code.

We do not always find a matching ID in new library.
October 16, 2020, 12:04 (GMT)
Fix T81027: Multires objects in sculpt mode can't be linked via collections.

Just clear all non-object mode flags from linked objects at read time.

Reviewers: brecht

Subscribers:
October 16, 2020, 11:16 (GMT)
Fix T81591: Align view to active is not working in sculpt mode

Remove sculpt/paint checks in getTransformOrientation_ex
This code goes back a long time (early 2.5x). I couldn't find any
reason why sculpt/paint checks were being made.

This makes the following changes:

- When in object mode, the object must be selected.
Since this function typically operates on the selected items.

- When in paint/particle modes, the objects matrix is always
used regardless of selection, since object selection can't be
controlled in these modes.

- When there is no active object, the first selected object is no
longer used as it's quite an arbitrary decision & not something
done elsewhere with objects in Blender.
October 16, 2020, 11:00 (GMT)
Fix T54526: Data Transfer modifier's Max Distance field working strangely.

Based on investigation by Philipp Oeser (@lichtwerk) and solution by
Alexander Gavrilov (@angavrilov) in D5206, thanks!
October 16, 2020, 10:56 (GMT)
EEVEE: SSR: Fix unreported smoothstep instability when border factor is 0

From the GLSL documentation: `Results are undefined if edge0 ? edge1.`
This is the case without this patch.
October 16, 2020, 10:10 (GMT)
UI: Make node theme settings to conform to UI rules

Basically first letter of (most) words is to be capitalized.

These settings (Noodle curving and Grid levels) had this wrong since
their first commit (2011 and 2020 respectively).
October 16, 2020, 09:51 (GMT)
Correct last commit
October 16, 2020, 09:29 (GMT)
PyDoc: update to account for new context member
October 16, 2020, 08:59 (GMT)
Cleanup: remove debug printf()

No functional changes.
Revision c5bdbc3 by Sybren A. Stüvel
October 16, 2020, 08:21 (GMT)
Fix T62463: unable to select anim channel for unselected node

Remove the code that synchronises selection state of shader node animation
channels. This code is only used in a few cases where selection of these
animation channels is changed, and then potentially does the wrong thing
and disallows selection of animation channels altogether.

This removal is meant to be a temporary situation, to unblock animation
channel selection. See T74159 for the overall effort to improve selection
sync.
October 16, 2020, 08:17 (GMT)
Cleanup: Animation, remove unused parameters

No functional changes.
Revision bb872b2 by Ankit Meel
October 16, 2020, 08:11 (GMT)
CMake/macOS: Search for headers in Frameworks last.

https://devtalk.blender.org/t/libpng-version-mismatch/15799/

By default, `CMAKE_FIND_FRAMEWORK` is `FIRST`.

CMake searches headers and libraries separately. So library is found
in LIBDIR, and headers like those in Mono are detected before the
headers in LIBDIR, and we get a version mismatch.

So set the priority of Frameworks to `LAST`.

https://gitlab.kitware.com/cmake/cmake/-/issues/18921
https://gitlab.kitware.com/cmake/cmake/-/issues/16427

{rBbac91956ae97} tried to fix the same issue, but it didn't work.
It's fine to keep the changes made there, just removing the comment
that may give false sense of security.
Revision 3ffe65a by Ankit Meel
October 16, 2020, 08:11 (GMT)
CMake/macOS: Restore TIFF's optional status.

{rB1f6b7387ad01}
October 16, 2020, 05:34 (GMT)
PyAPI: unregister add-ons when exiting

This lets add-on authors avoid false positive leaks when exiting.
In particular GPUShaders's although it applies to any PyObject that
stores memory allocated by guarded-alloc.

While this does add overhead on exit, on my system it's
under 1/100th of a second with all addons enabled.

See: T71362
October 16, 2020, 05:20 (GMT)
Fix syntax error in IC-Keymap

Regression in e936f042589eeb4c64a9b0df7cfd3b70ef49af22
October 16, 2020, 04:56 (GMT)
RNA: support building WITH_PYTHON=OFF
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021