Blender Git Commit Log

All Blender Git commits.

Page: 561 / 8462

June 14, 2021, 14:34 (GMT)
Cleanup: misleading return argument for hair_create_input_mesh

- The argument with named with an `r_` prefix when it was in fact
also read from.
- The argument passed in had to be 'psys->clmd->hairdata',
if it was not - the function would not worked.
June 14, 2021, 14:34 (GMT)
Cleanup: avoid the possibility of 'enter_editmode' being left unset

While in practice this isn't an issue currently, always set
'enter_editmode' in ED_object_add_generic_get_opts
to avoid problems in the future.
June 14, 2021, 14:34 (GMT)
Cleanup: use return arg prefix for ED_object_add_generic_get_opts
June 14, 2021, 14:34 (GMT)
Cleanup: use ATTR_RETURNS_NONNULL function attribute
June 14, 2021, 14:34 (GMT)
Cleanup: redundant initialization

These were limited to obvious cases. Some less obvious cases
were kept as refactoring might make them necessary in future.
June 14, 2021, 14:34 (GMT)
Cleanup: rename 'unsigned int' -> 'uint'
June 14, 2021, 14:34 (GMT)
Cleanup: allocation size mismatch warning

While harmless, use fixed size int type for pixel data.
June 14, 2021, 14:34 (GMT)
Fix libmv new[]/delete[] mismatch
June 14, 2021, 14:34 (GMT)
Cleanup: Order return argument last
June 14, 2021, 14:34 (GMT)
Cleanup: Reduce indentation from redundant check
June 14, 2021, 14:34 (GMT)
Fix T88807: crash when there are multiple links between the same sockets

This commit does two things:

* Disallows creating more than one link from one socket to a multi socket input.
* Properly count links if there happen to be more than one link between the same sockets.

The new link counting should also be more efficient asymptotically.

Differential Revision: https://developer.blender.org/D11570
June 14, 2021, 14:34 (GMT)
Nodes: remove redundant increment node tree current socket index

`ntree->cur_index` was being incremented twice in make_socket_interface.

Reviewed By: JacquesLucke

Ref D11590
June 14, 2021, 14:34 (GMT)
Fix T88947: invalid normals when converting point cloud to mesh
June 14, 2021, 14:34 (GMT)
Fix T88494: add missing depsgraph relation update tags

Adding e.g. a Collection Info node creates a new depsgraph relation.
Therefore the relations should be updated.
June 14, 2021, 14:34 (GMT)
Fix T87867: file open dialog triggers OneDrive file downloads on macOS

Until OneDrive supports macOS's native placeholder file implementation, detect
the com.microsoft.OneDrive.RecallOnOpen extended file attribute.

Differential Revision: https://developer.blender.org/D11466
June 14, 2021, 14:34 (GMT)
BLI_math: Fix several division-by-zero cases.

Those were caused by various tools used on degenerate geometry, see
T79775.

Note that fixes are as low-level as possible, to ensure they cover as
much as possible of unreported issues too.

We still probably have many more of those hidden in BLI_math though.
June 14, 2021, 14:34 (GMT)
BLI_math: Cleanup: Use `mul_`/`madd_` functions.

Better to avoid explicit vectors components direct manipulation when a
generic operation for whole vector exists, if nothing else it avoids
potential mistakes in indices.
June 14, 2021, 14:34 (GMT)
Fix build error in release builds after recent changes
June 14, 2021, 14:34 (GMT)
Python API: option for render engines to disable image file saving

For some custom rendering engines it's advantageous not to write the image files to disk.
An example would be a network rendering engine which does it's own image writing.

This feature is only supported when bl_use_postprocess is also disabled, since render
engines can't influence the saving behavior of the sequencer or compositor.

Differential Revision: https://developer.blender.org/D11512
June 14, 2021, 14:34 (GMT)
tweak messages further.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021