Blender Git Loki
Git Commits -> Revision 4f27228
Revision 4f27228 by Campbell Barton (soc-2021-porting-modifiers-to-nodes-decimate, soc-2021-porting-modifiers-to-nodes_all) July 30, 2021, 14:56 (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: 4f27228b0cbf2d2fd812fc6ec9a644a1e877f2ea
Parent Commit: 84f565e
Committed By: Fabian Schempp
Lines Changed: +67, -51
1 Modified Path:
/source/blender/editors/transform/transform_snap_object.c (+67, -51) (Diff)