Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 364 / 5574

March 4, 2021, 09:56 (GMT)
Fix Saving startup file changing paths of the current file

Saving the startup file now uses "Save Copy", so paths are preserved.
March 4, 2021, 09:52 (GMT)
Fix T86231: Saving startup file always remaps relative
March 4, 2021, 06:43 (GMT)
Tests: don't write thumbnails when running tests

Also replace WM_OT_read_factory_settings with WM_OT_read_homefile
so the preferences don't have to be reloaded.
March 4, 2021, 06:43 (GMT)
Cleanup: include '--open-last' in "Misc Options"

This was using fall-back category "Other Options"
which should be kept empty.
March 4, 2021, 06:17 (GMT)
Cleanup: redundant struct declarations
March 4, 2021, 06:10 (GMT)
Cleanup: use non-zero comparisons for event modifiers

Use event modifier checks that follow most of Blender's code.
March 4, 2021, 06:06 (GMT)
Cleanup: use BM_mesh_copy_init_customdata utility function
March 4, 2021, 06:00 (GMT)
Cleanup: comments
March 4, 2021, 05:58 (GMT)
Cleanup: use const arrays
March 4, 2021, 05:55 (GMT)
Cleanup: number literals
March 4, 2021, 04:46 (GMT)
Cleanup: replace Py_CLEAR with Py_DECREF in bpy.app modules

In this case, there is no benefit to using Py_CLEAR
as the value will never be NULL and can't be used later on.
March 4, 2021, 04:18 (GMT)
PyAPI: correct garbage collection for StructRNA types

By default objects are no longer GC tracked, this removes some overhead
although it's not significant in my own testing.

- Only enable GC for StructRNA when 'WITH_PYTHON_SAFETY' is on.
- Only track StructRNA when their 'reference' is set.
- Add missing NULL check when 'WITH_PYTHON_SAFETY' is on
and objects new objects be created.
March 4, 2021, 04:18 (GMT)
Fix logic for calling PyObject_GC_UnTrack

All tracked objects need a matching un-track,
also remove redundant Py_XDECREF call.
Revision 67856d8 by Ankit Meel
March 4, 2021, 02:34 (GMT)
macOS/GTests: add_dependencies to fix build error

When building `install`, linking blender_test fails because
test libraries do not exist. This happened on lite + Xcode. Error in
{rBdcb2821292f962951e88f146cb304160f21f73da}.

Reviewed By: #platform_macos, brecht
Differential Revision: https://developer.blender.org/D10607
Revision e4a55b4 by Hans Goudey
March 3, 2021, 22:32 (GMT)
UI: Remove extra blank space for decorators in FCurve modifiers

None of these properties can be animated, so it doesn't make sense
to leave space for decorators on the right side of the panels. In fact
that is what was intended, but they were not manually disabled
in all of the panels.
March 3, 2021, 22:14 (GMT)
Fix T86042 EEVEE: incorrect irradiance bake

The environment (world) irradiance wasn't correctly skipped.
Revision dd43a37 by Hans Goudey
March 3, 2021, 19:48 (GMT)
Geometry Nodes: Allow clearing an attribute text field

Because pressing enter will choose the current search item from the menu,
and there was no search item with an empty string, it was impossible to
clear the text of an attribute text field. This commit adds a simple "X"
icon in the top row when you delete the string.
Revision f53221b by Hans Goudey
March 3, 2021, 18:58 (GMT)
UI: Allow translation for node error messages

This commit exposes the strings used in the node error messages for
localization. It also changes the message tooltip creation to
automatically add the period at the end, to be more consistent with
the (arguably bad) design of other tooltips in Blender.

Calling `TIP_` directly in the node implementation files allows us to
continue using `std::string` concatenation instead of passing variadic
arguments. It's also more explicit about which part of the message is
translated and which isn't. The files already include the translation
header anyway.
March 3, 2021, 15:56 (GMT)
macOS/Ghost: Remove redundant nil check after initWithContentRect

AppKit?s NSWindow.h has NS_ASSUME_NONNULL_BEGIN, and only methods/
properties explicitly marked nullable will ever return nil.

Reviewed By: #platform_macos, sebbas
Differential Revision: https://developer.blender.org/D10603
March 3, 2021, 15:55 (GMT)
macOS/Ghost: Fix memory leak.

`new` allocates a new object that needs to be autoreleased.

Reviewed By: #platform_macos, sebbas, ankitm
Maniphest Tasks: T86222
Differential Revision: https://developer.blender.org/D10597
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021