Blender Git Commit Log

Git Commits -> Revision b7ad3ea

November 4, 2017, 04:43 (GMT)
GP Modifiers - Merge Array and Duplication modifiers

Array and Duplication modifiers basically implemented the same functionality,
except that:
1) Array was slightly more powerful (i.e. it could make a 3D grid instead of
just putting everything in a single line), and
2) Array created new objects when "Applying", while Duplication added to the
current datablock

This commit basically merges the functionality of both into the Array modifier.
I ended up recoding this modifier to hopefully work a lot faster.
* The resulting modifier more closely resembles the behaviour of the normal
Blender Array modifier.
* Performance should be better now with over 25 objects (previous array modifier
implementation lagged badly with more than 25-30 instances). The previous approach
of manually creating objects didn't work too well.

TODO:
* The functionality to disable the instance creation when the simplify options
are enabled is currently lost. Still need to figure out how to restore it
* The stubs/shell for the old Duplication modifier are still around. To be removed!

Commit Details:

Full Hash: b7ad3ea653d4b118d31d5c256997b6fcb2aed720
Parent Commit: cc9eb7b
Lines Changed: +240, -251

10 Modified Paths:

/release/scripts/startup/bl_ui/properties_data_modifier.py (+12, -0) (Diff)
/source/blender/blenkernel/BKE_gpencil.h (+0, -2) (Diff)
/source/blender/blenkernel/intern/gpencil_modifier.c (+0, -165) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_cache_impl.c (+0, -59) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+0, -4) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+0, -2) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+6, -2) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+16, -0) (Diff)
/source/blender/modifiers/intern/MOD_gpencilarray.c (+205, -16) (Diff)
/source/blender/modifiers/intern/MOD_gpencildupli.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021