GP: Move grid parameters to GP object data level
authorAntonioya <blendergit@gmail.com>
Thu, 4 Oct 2018 21:27:34 +0000 (23:27 +0200)
committerAntonioya <blendergit@gmail.com>
Thu, 4 Oct 2018 21:27:34 +0000 (23:27 +0200)
commit3a1e9b9997e33c059d08138da707ac16490fddf7
tree770b8bf9c30d10ee4a0866e7f62b5e4cf23f79bc
parent65f77ccea1645f8c66fc171377641b08b62010e0
GP: Move grid parameters to GP object data level

The grid now can be configured by object because this helps to identify objects and allows to define diferent grid parameters for each objects.

Also added a color option.
12 files changed:
release/scripts/startup/bl_ui/properties_data_gpencil.py
release/scripts/startup/bl_ui/space_view3d.py
source/blender/blenkernel/intern/gpencil.c
source/blender/blenloader/intern/versioning_280.c
source/blender/draw/engines/gpencil/gpencil_draw_cache_impl.c
source/blender/draw/engines/gpencil/gpencil_engine.c
source/blender/draw/engines/gpencil/gpencil_engine.h
source/blender/editors/space_view3d/space_view3d.c
source/blender/makesdna/DNA_gpencil_types.h
source/blender/makesdna/DNA_view3d_types.h
source/blender/makesrna/intern/rna_gpencil.c
source/blender/makesrna/intern/rna_space.c