Cleanup: use proper `ObjectWalkFunc` typedef in modifiers' object callback func.
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 5 Oct 2015 13:57:10 +0000 (15:57 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 5 Oct 2015 13:57:10 +0000 (15:57 +0200)
commite5552f82415708778fefd11c0c57cd52213e823e
treeffba589f5731442699f03204f466641c2813d9e9
parent90b925f76d88760e6533611171db24e6a390faab
Cleanup: use proper `ObjectWalkFunc` typedef in modifiers' object callback func.

Also, fix own stupidity, no need to define ID callback in case we only have objects,
calling code knows to fallback to `foreachObjectLink()` when `foreachIDLink()` is missing...
22 files changed:
source/blender/blenkernel/BKE_modifier.h
source/blender/modifiers/intern/MOD_armature.c
source/blender/modifiers/intern/MOD_array.c
source/blender/modifiers/intern/MOD_boolean.c
source/blender/modifiers/intern/MOD_cast.c
source/blender/modifiers/intern/MOD_curve.c
source/blender/modifiers/intern/MOD_datatransfer.c
source/blender/modifiers/intern/MOD_hook.c
source/blender/modifiers/intern/MOD_lattice.c
source/blender/modifiers/intern/MOD_mask.c
source/blender/modifiers/intern/MOD_meshdeform.c
source/blender/modifiers/intern/MOD_mirror.c
source/blender/modifiers/intern/MOD_normal_edit.c
source/blender/modifiers/intern/MOD_ocean.c
source/blender/modifiers/intern/MOD_screw.c
source/blender/modifiers/intern/MOD_simpledeform.c
source/blender/modifiers/intern/MOD_surface.c
source/blender/modifiers/intern/MOD_uvproject.c
source/blender/modifiers/intern/MOD_warp.c
source/blender/modifiers/intern/MOD_weightvgedit.c
source/blender/modifiers/intern/MOD_weightvgmix.c
source/blender/modifiers/intern/MOD_weightvgproximity.c