Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 328 / 5574

March 28, 2021, 07:48 (GMT)
Cleanup: revert part of da160dc32d1518dc3e59a8fb7995b59c88870444

The grease-pencil parent check was enabled when deleting objects,
when previously it was only done when unlinking.

While harmless, the previous logic is correct.
March 28, 2021, 07:48 (GMT)
Cleanup: re-order expensive checks for indirect ID use

Check for indirect ID use after other simple user count checks are made.

Also assert ED_object_base_free_and_unlink_no_indirect_check object
argument isn't indirectly used.
March 28, 2021, 07:16 (GMT)
Fix T86992: Tagged ID deletion conflicts with freeing objects

Check LIB_TAG_COPIED_ON_WRITE instead of LIB_TAG_NO_MAIN,
matching the behavior of rigid-body shared data.
March 28, 2021, 06:32 (GMT)
Workaround T86992: Tagged ID deletion conflicts with freeing objects

da160dc32d1518dc3e59a8fb7995b59c88870444 exposed a bug in
`BKE_id_multi_tagged_delete` causing a memory leak in soft-body that
made `physics_softbody` test fail.

Use a loop to remove ID's to keep tests working until T86992 is fixed.
March 27, 2021, 14:01 (GMT)
Cleanup: Apply clang format

March 27, 2021, 14:01 (GMT)
Fix T86967 : Artifacts when tracing image to Grease Pencil

Tracing images to grease pencil objects creates sometimes artifacts, as seen, for example, when tracing the attached image. {F9910821}
I have found the same behavior both in the 2.92 release and in the current 2.93 master.
The artifacts are caused by a variable that's not initialized or updated when finding a point tagged as POTRACE_CORNER.
This patch solves this issue.

Maniphest Tasks: T86967

Differential Revision: https://developer.blender.org/D10832
March 27, 2021, 11:51 (GMT)
Fix T86975: GPencil interpolate sequence error when strokes are not selected

If the selection order is not used, need to put the strokes in inverse order because the Hash Iter returns the strokes in inverse order.
March 27, 2021, 08:48 (GMT)
Automated testing: selection operators test cases

added 22 more test cases for following operators:
- edges select sharp
- loop multi select
- select all
- select faces by sides
- select interior faces
- select less
- select linked

{F9853218}

Reviewed By: calra, mont29

Differential Revision: https://developer.blender.org/D10400
March 27, 2021, 05:21 (GMT)
Cleanup: spelling and comments

- comment added in struct `KnifeTool_OpData`
- struct pointer name `lst` updated to `list` ( Guess its more readable )
- `KNF_MODEL_IGNORE_SNAP_ON` updated to `KNF_MODAL_IGNORE_SNAP_ON`
- `KNF_MODEL_IGNORE_SNAP_OFF` updated to `KNF_MODAL_IGNORE_SNAP_OFF`

Ref D10824
March 27, 2021, 04:58 (GMT)
Fix T86924: UV Sync selection breaks individual origin calculation

Use uvedit_uv_select_test which accounts for UV Sync selection.

Ref D10830
March 27, 2021, 04:48 (GMT)
Correct header rename error 10cfa75e1d1e80b32da640a0e7de2b50f831dcfd
March 27, 2021, 04:07 (GMT)
UV Editor: Add cursor center operator

This matches cursor center operator from the 3D view.

Reviewed By: campbellbarton

Resolves T70142

Ref D8271
March 27, 2021, 03:49 (GMT)
Cleanup: clang-format
March 27, 2021, 03:48 (GMT)
Comment: note that structs are zeroed instead of using defaults
March 27, 2021, 03:05 (GMT)
Cleanup: use .hh extension for C++ headers

Follow documented convention for file naming.
March 27, 2021, 02:38 (GMT)
Object: faster object deletion

The `object_delete_exec` lead to `BKE_library_ID_is_indirectly_used`
being called twice. With this patch deleting is around 20% faster.

Example when deleting 10000 objects:
Current: 35.6s
This patch: 18.8s (updated, last rev 29.7s)

Reviewed By: campbellbarton

Ref D9857
March 26, 2021, 21:30 (GMT)
Win32: Allow return from fullscreen to maximized

If window is maximized when toggling fullscreen, go back to maximized when done.

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

Reviewed by Harley Acheson
Revision 0ec8247 by Ankit Meel
March 26, 2021, 19:44 (GMT)
macOS/bpy: install into site-packages

Reviewed By: #platform_macos, brecht
Maniphest Tasks: T86579
Differential Revision: https://developer.blender.org/D10664
Revision ad31b13 by Ankit Meel
March 26, 2021, 19:38 (GMT)
macOS/bpy: add support for OpenMP

Changes made:
* Add OpenMP linker flags.
* Copy the libomp.dylib to `2.93/lib/libomp.dylib`.
* Change the `LC_LOAD_DYLIB` item such that
the lib is found at `bpy.so/../../Resources/2.93/lib/libomp.dylib`.
Installation is done by D10664.

Reviewed By: #platform_macos, brecht
Maniphest Tasks: T86579
Differential Revision: https://developer.blender.org/D10657
Revision 35d5cc8 by Hans Goudey
March 26, 2021, 18:25 (GMT)
Cleanup: Use enum for "in" vs. "out" node sockets
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021