Blender Git Loki

Git Commits -> Revision cf8ea74

Revision cf8ea74 by Campbell Barton (master)
July 20, 2021, 01:12 (GMT)
Cleanup: quiet GCC maybe-uninitialized warning

Function signatures for snap callbacks used `const` incorrectly
which was hidden by casting function types.

This made it seem as if the input arguments wouldn't be change and
wouldn't be initialized.

Name return arguments with an `r_` prefix, order them last,
remove function casts and correct `const` usage.

Commit Details:

Full Hash: cf8ea741f25f4ef55e51278d3c8e2943062a84a0
Parent Commit: 0733926
Lines Changed: +67, -51

1 Modified Path:

/source/blender/editors/transform/transform_snap_object.c (+67, -51) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021