Blender Git Loki
Git Commits -> Revision 318b44f
Revision 318b44f by Bastien Montagne (master) May 9, 2012, 15:00 (GMT) |
Refactor of modifiers' apply function: now use a single bit-flag parameter to pass options, instead of having one parameter per boolean flag (i.e. replaces current useRenderParams and isFinalCalc by a single ModifierApplyFlag flag. ModifierApplyFlag is an enum defined in BKE_modifier.h). This way we won't anymore have to edit all modifier files when e.g. adding a new control flag! Should have no effect over modifier behavior. |
Commit Details:
Full Hash: 318b44fe5d142ca1ac29a6933da8cd9e2c439e9a
SVN Revision: 46466
Parent Commit: 895e426
Lines Changed: +125, -131
48 Modified Paths:
/source/blender/blenkernel/BKE_modifier.h (+8, -2) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+18, -10) (Diff)
/source/blender/blenkernel/intern/displist.c (+22, -8) (Diff)
/source/blender/blenkernel/intern/lattice.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/multires.c (+2, -2) (Diff)
/source/blender/editors/object/object_modifier.c (+1, -1) (Diff)
/source/blender/editors/util/crazyspace.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_armature.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_array.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_bevel.c (+3, -5) (Diff)
/source/blender/modifiers/intern/MOD_boolean.c (+2, -4) (Diff)
/source/blender/modifiers/intern/MOD_build.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_cast.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_cloth.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_collision.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_curve.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_decimate.c (+2, -4) (Diff)
/source/blender/modifiers/intern/MOD_displace.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_dynamicpaint.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_edgesplit.c (+3, -4) (Diff)
/source/blender/modifiers/intern/MOD_explode.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_fluidsim.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_hook.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_lattice.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_mask.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_meshdeform.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_mirror.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_multires.c (+3, -2) (Diff)
/source/blender/modifiers/intern/MOD_ocean.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_particleinstance.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_particlesystem.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_remesh.c (+2, -4) (Diff)
/source/blender/modifiers/intern/MOD_screw.c (+3, -3) (Diff)
/source/blender/modifiers/intern/MOD_shapekey.c (+3, -4) (Diff)
/source/blender/modifiers/intern/MOD_shrinkwrap.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_simpledeform.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_smoke.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_smooth.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_softbody.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_solidify.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_subsurf.c (+5, -4) (Diff)
/source/blender/modifiers/intern/MOD_surface.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_uvproject.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_warp.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_wave.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_weightvgedit.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_weightvgmix.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_weightvgproximity.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+18, -10) (Diff)
/source/blender/blenkernel/intern/displist.c (+22, -8) (Diff)
/source/blender/blenkernel/intern/lattice.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/multires.c (+2, -2) (Diff)
/source/blender/editors/object/object_modifier.c (+1, -1) (Diff)
/source/blender/editors/util/crazyspace.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_armature.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_array.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_bevel.c (+3, -5) (Diff)
/source/blender/modifiers/intern/MOD_boolean.c (+2, -4) (Diff)
/source/blender/modifiers/intern/MOD_build.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_cast.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_cloth.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_collision.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_curve.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_decimate.c (+2, -4) (Diff)
/source/blender/modifiers/intern/MOD_displace.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_dynamicpaint.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_edgesplit.c (+3, -4) (Diff)
/source/blender/modifiers/intern/MOD_explode.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_fluidsim.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_hook.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_lattice.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_mask.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_meshdeform.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_mirror.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_multires.c (+3, -2) (Diff)
/source/blender/modifiers/intern/MOD_ocean.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_particleinstance.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_particlesystem.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_remesh.c (+2, -4) (Diff)
/source/blender/modifiers/intern/MOD_screw.c (+3, -3) (Diff)
/source/blender/modifiers/intern/MOD_shapekey.c (+3, -4) (Diff)
/source/blender/modifiers/intern/MOD_shrinkwrap.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_simpledeform.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_smoke.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_smooth.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_softbody.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_solidify.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_subsurf.c (+5, -4) (Diff)
/source/blender/modifiers/intern/MOD_surface.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_uvproject.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_warp.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_wave.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_weightvgedit.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_weightvgmix.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_weightvgproximity.c (+2, -2) (Diff)