Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 164 / 5574

August 27, 2021, 07:02 (GMT)
Cleanup: utf8 stepping functions

Various changes to reduce risk of out of bounds errors in utf8 seeking.

- Remove BLI_str_prev_char_utf8
This function could potentially scan past the beginning of a string.
Use BLI_str_find_prev_char_utf8 instead which takes a limiting
string start argument.

- Swap arguments for BLI_str_find_prev_char_utf8 so the stepping
argument is first and the limiting argument is last.
This matches BLI_str_find_next_char_utf8.

- Change behavior of these functions to return it the start or end
pointers instead of NULL, which complicated use of these functions
to calculate offsets.

Callers that need to check if the limits were reached can compare
the return value with the start/end pointers.

- Return 'const char *' from these functions
so they don't remove const from the input arguments.
August 27, 2021, 03:11 (GMT)
Fix loading packed fonts for sequencer strips
August 27, 2021, 03:05 (GMT)
Cleanup: use early return
August 27, 2021, 03:01 (GMT)
Fix sequencer font loading using an unexpected path

Reuse the existing font loading function which handles this case.
August 27, 2021, 01:48 (GMT)
Modifier: smooth interpolation support

Add an option to the mask modifier to use the vertex weights to generate
smooth in between geometry, instead of just deleting non complete faces.

This can be used to make all sorts of smooth dissolve animations
directly with geometry, which are usually hacked together with shaders.
It also allows for implicit function plotting using geometry nodes and
boolean like operations on non manifold geometry with the proximity
modifier.

Reviewed By: campbellbarton

Ref D10979
August 27, 2021, 01:47 (GMT)
Cleanup: warnings
August 26, 2021, 20:00 (GMT)
Fix T90973: GPencil - Add buttons to move up and down vertex groups


These buttons were in Meshes but not for Grease Pencil. This patch add them in order to keep consistency.

Reviewed By: HooglyBoogly

Maniphest Tasks: T90973

Differential Revision: https://developer.blender.org/D12328
August 26, 2021, 17:52 (GMT)
UI: Consistent Area Move Snapping Locations

Change Area Move snapping locations to even 12ths, rather than current
eights and thirds, so snap distances are consistent sizes. Also adds
snapping at minimum and maximum locations.

see D11938 for details and illustrations.

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

Reviewed by Hans Goudey
August 26, 2021, 17:21 (GMT)
Fix error in last commmit
August 26, 2021, 17:13 (GMT)
Fix T90817: Object Picker Doesn't Work on Second window

Solution similar to the one seen in {rBb94ab93dfb82}.

The idea is to find the window and region under the cursor to use in the
operator.

Reviewed By: brecht

Maniphest Tasks: T90817

Differential Revision: https://developer.blender.org/D12310
August 26, 2021, 17:12 (GMT)
Cleanup: split eyedropper_color_sample_fl into more specific utilities

The window and region find utility can be used in other eyedropper
operators.
August 26, 2021, 16:49 (GMT)
Cleanup: return window in 'WM_window_find_under_cursor'

This better matches other functions like `BKE_screen_find_area_xy`.
August 26, 2021, 16:03 (GMT)
PyAPI: GPU: expose clip distances

Now you can get a shader that uses Clip Planes and set the number of
Clip Distanes with `gpu.state.clip_distances_set(value)`.
August 26, 2021, 13:01 (GMT)
Cleanup: Use `ID_IS_LINKED` instead of direct `id.lib` pointer check.
August 26, 2021, 12:36 (GMT)
Add locking fallback atomics implementation

Is used for platforms for which we do not have native implementation,
such as MIPS, for example.

It is possible to test locking implementation on local computer by
defining `ATOMIC_FORCE_USE_FALLBACK` in the atomic_ops_unix.h file.

Run full regression suit with the locking implementation on amd64
Linux platform and all tests passed.

Having non-optimal but working implementation for odd-ball platforms
seems to be a better choice than failing the build entirely.

Differential Revision: https://developer.blender.org/D12313
August 26, 2021, 12:35 (GMT)
Fix T90959: crash when hovering over empty data block socket
August 26, 2021, 10:41 (GMT)
Cleanup: add ATTR_WARN_UNUSED_RESULT to BLI_string_utf8.h
August 26, 2021, 10:41 (GMT)
Cleanup: use BLI_UTF8_MAX define
August 26, 2021, 10:09 (GMT)
Decouple highlighted tiles from RenderPart

Should be no visible change on user side.
Preparing for render parts removal as part of Cycles X project.

Differential Revision: https://developer.blender.org/D12317
August 26, 2021, 09:01 (GMT)
Fix issues with absolute time unit

I think there are the following issues with {rB5fa6cdb77a98}:
- if we introduce a PROP_UNIT_TIME_ABSOLUTE unit, shouldnt it be visible
to RNA as well?
- seems like a double entry sneaked into that commit?

This is in preparation to use this for render time limit in cycles-x.

ref. T90701

Maniphest Tasks: T90701

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