Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1129 / 8462

November 11, 2020, 11:16 (GMT)
GPencil: Fix unreported crash when style is NULL

November 11, 2020, 09:40 (GMT)
Cleanup: correct argument order to callback

Currently the callback isn't used,
found when testing a new enum callback.
Revision 251b7d7 by Philipp Oeser (master)
November 11, 2020, 09:27 (GMT)
Merge branch 'blender-v2.91-release' into master
November 11, 2020, 09:18 (GMT)
Fix T82553: Outliner F2 renaming issue when item is out of view

- scrolling would be restricted (usually, if the object to be renamed is
in view, this prevents scrolling away without finishing the rename
operation)
- renaming by typing and confirming with Enter was not possible (you
would have to escape, scroll to the object and use F2 again)
- other shortcuts like A and H are still active instead of being handled
as text input

Avoid all these issue by forcing the item into view using
outliner_show_active / outliner_scroll_view.

Maniphest Tasks: T82553

Differential Revision: https://developer.blender.org/D9521
November 11, 2020, 09:15 (GMT)
Cleanup: Use `NDEBUG` define, `DEBUG` one is not reliable.
November 11, 2020, 09:12 (GMT)
Fix 'outliner_scroll_view()' not reaching wanted element

Scrolling to an item after opening relevant parents can go wrong if said
parent e.g. the last in the list [as in: then the Outliner does not
scroll down all the way]
It stems from the fact that 'region->v2d.tot.ymin' is not up-to-date in
outliner_scroll_view after outliner_show_active opens up parents, 'tot'
will only update on a redraw.

Now calculate the trees height on the fly using
'outliner_tree_dimensions()'.

ref D9521
ref T82553

Maniphest Tasks: T82553

Differential Revision: https://developer.blender.org/D9523
November 11, 2020, 09:12 (GMT)
Exporter: Cleanup: minor rename
November 11, 2020, 07:41 (GMT)
fix regression regarding missing BVH update
November 11, 2020, 06:44 (GMT)
Merge branch 'master' into cycles_procedural_api
November 11, 2020, 06:30 (GMT)
Blender 2.83.9 release
November 11, 2020, 05:14 (GMT)
Fix T82602: checking image header reads past buffer bounds

Use the size argument to ensure checking the header doesn't read
past the buffer bounds when reading corrupt/truncated headers
from image files.
November 11, 2020, 05:14 (GMT)
Cleanup: pass header size to 'is_a' callbacks

No functional changes, prepare for fixing out-of-bounds access
when reading headers.
November 11, 2020, 05:14 (GMT)
Cleanup: use 'filepath' instead of 'name' for ImBuf utilities
November 11, 2020, 05:14 (GMT)
Cleanup: use bool for imbuf save callbacks
November 11, 2020, 05:14 (GMT)
Cleanup: avoid boolean literals for functions that return int
November 11, 2020, 04:26 (GMT)
Merge remote-tracking branch 'origin/master' into lanpr-under-gp
November 11, 2020, 04:05 (GMT)
Cleanup: use define for targa header size
November 11, 2020, 03:54 (GMT)
Cleanup: remove redundant NULL checks in ImFileType.is_a callback

Most of these callbacks don't do a NULL check,
so there is no need to do this for bmp/png.

Also correct radiance_hdr comments.
November 11, 2020, 03:44 (GMT)
Merge branch 'blender-v2.91-release'
November 11, 2020, 03:41 (GMT)
ImBuf: replace incorrect strstr use with memcmp

Besides being incorrect as only the first two bytes should be tested,
searching binary data using `strstr` can easily read past buffer bounds.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021