Blender Git Commits

Blender Git "master" branch commits.

Page: 171 / 5574

August 20, 2021, 09:27 (GMT)
Cleanup: Add CLOG to wm_files_link.c
August 20, 2021, 06:37 (GMT)
Cleanup: use "free_data" suffix when the argument isn't freed

Avoid API misuse that caused leaks in T90791 &
2788b0261cb7d33a2f6f2978ff4f55bb4987edae.
August 20, 2021, 06:21 (GMT)
Cleanup: rename BKE_mesh_free_data -> BKE_mesh_free_data_for_undo

This function only makes sense for undo which doesn't
initialize the meshes ID. Otherwise BKE_id_free should be used.
August 20, 2021, 06:08 (GMT)
Cleanup: remove BKE_mesh_free_data use for lineart mesh copies

Even though this didn't leak memory, BKE_mesh_free_data doesn't
handle freeing data that is part of the ID making it error prone.
August 20, 2021, 06:02 (GMT)
Cleanup: accidentally included printf
August 20, 2021, 06:00 (GMT)
Fix memory leak with building springs in the cloth simulator

Error in 2788b0261cb7d33a2f6f2978ff4f55bb4987edae.
August 20, 2021, 05:19 (GMT)
Fix T90791: Knife project leaks memory with curve/text cutter
August 20, 2021, 05:08 (GMT)
Cleanup: rename BKE_mesh_free -> BKE_mesh_free_data

It wasn't obvious this didn't free the memory of the mesh it's self
leading to memory leaks.
August 20, 2021, 05:03 (GMT)
Cleanup: unused warnings
August 20, 2021, 02:27 (GMT)
Cleanup: clang-format
August 20, 2021, 00:40 (GMT)
Alembic Procedural: only subdivide if subsurf modifier is present

As subdivision objects are first class citizens in Alembic, to
differentiate them with non-subdivided polygon meshes, the Alembic
Procedural automatically sets up subdivision properties on the generated
Cycles Mesh.

However, for real-time playback subdivision is far too slow, so this
modifies the detection of a MeshSeqCache modifier used to activate the
procedural to allow for a Subsurf modifier right after the cache one. If
present, the procedural will tag the object for subdivision, if absent, the
object will be treated as a regular mesh.

This is a temporary measure for until subdivision surface settings are part
of the Mesh datablock (see T68891).

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D11162
August 20, 2021, 00:30 (GMT)
Cleanup, format
August 19, 2021, 18:36 (GMT)
Fix T90776: Cycles normal map node produces artifacts

This is caused by a typo in rBb8ecdbcd964a `sd->prim` is the primitive
index, but was used to discriminate the primitive type (stored in `sd-
>type`).
August 19, 2021, 18:36 (GMT)
Cycles: missing case for ignoring subdivision vertex normals

This was missing from rBb8ecdbcd964a.
August 19, 2021, 18:24 (GMT)
UI: Use theme's alpha for Summary instead of a hardcoded value
August 19, 2021, 18:12 (GMT)
Fix error rendering Cycles shader nodes from before 2013

After the recent changes to use socket identifiers instead of names.
August 19, 2021, 17:23 (GMT)
GPencil: Cleanup old printf debug lines

These lines were very old debug code and now it's not required because the code is very tested.
August 19, 2021, 16:00 (GMT)
Partially fix T90593: Image ID wrongly seen as changed on undos.

Several pure runtime data in this ID type were not properly cleared by
write/read processes.

Note that the initial undo step (the one leading back to initial read
file state) is still forcing re-load of image, for some reasons.

Common investigation together with Jeroen Bakker (@jbakker), thanks. See
also D12242.
August 19, 2021, 16:00 (GMT)
Image blendwrite: Fix handling of packedfiles.

Packedfiles need some special attention when writing Image to disk.

Source: D12242, Jeroen Bakker (@jbakker), thanks.
August 19, 2021, 15:45 (GMT)
Fix Python error in ./benchmark init after recent changes
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021