Blender Git Loki

Git Commits -> Revision 18e063b

Revision 18e063b by Jacques Lucke (master)
January 22, 2021, 12:46 (GMT)
Functions: use better conversion from float2 to float3

Previously float2 was converted to float3 by implicitly converting to a
float pointer first, which was then passed to the float3 constructor.
This leads to uninitialized memory in the z component of the new float3.

Ideally this should be solved in float2/float3 itself, but my first fix for
that resulted in a compile error: rB6ac0a3d83c8e5a39bd5356aa0d68e3166bd91e82

This is an alternative fix that can be used for now. Will have to look
into the conversion in more detail again.

Commit Details:

Full Hash: 18e063b69db3f810dae9753030111c1a2ea67117
Parent Commit: 7a07ca1
Lines Changed: +2, -1

1 Modified Path:

/source/blender/nodes/intern/node_tree_multi_function.cc (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021