Blender Git Loki
Git Commits -> Revision 6768508
Revision 6768508 by Antonio Vazquez (greasepencil-object) November 22, 2020, 18:19 (GMT) |
GPencil: Reorganize code to avoid duplications Now there is an ancestor class with all shared code between export and import |
Commit Details:
Full Hash: 67685080ee8b3e9ce0fab08adfa0cc531bb95637
Parent Commit: 5fa15ff
Lines Changed: +863, -884
3 Added Paths:
/source/blender/io/gpencil/gpencil_io.h (+104, -0) (View)
/source/blender/io/gpencil/intern/gpencil_io_base.cc (+540, -0) (View)
/source/blender/io/gpencil/intern/gpencil_io_base.h (+142, -0) (View)
/source/blender/io/gpencil/intern/gpencil_io_base.cc (+540, -0) (View)
/source/blender/io/gpencil/intern/gpencil_io_base.h (+142, -0) (View)
2 Deleted Paths:
/source/blender/io/gpencil/gpencil_io_exporter.h (+0, -97)
/source/blender/io/gpencil/gpencil_io_importer.h (+0, -65)
/source/blender/io/gpencil/gpencil_io_importer.h (+0, -65)
14 Modified Paths:
/source/blender/editors/io/io_gpencil_export.c (+20, -17) (Diff)
/source/blender/editors/io/io_gpencil_import.c (+4, -4) (Diff)
/source/blender/io/gpencil/CMakeLists.txt (+5, -2) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_capi.cc (+11, -13) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_export_base.cc (+3, -475) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_export_base.h (+4, -87) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_export_pdf.cc (+4, -5) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_export_pdf.h (+2, -2) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_export_svg.cc (+4, -5) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_export_svg.h (+2, -2) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_import_base.cc (+6, -69) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_import_base.h (+4, -32) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_import_svg.cc (+6, -7) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_import_svg.h (+2, -2) (Diff)
/source/blender/editors/io/io_gpencil_import.c (+4, -4) (Diff)
/source/blender/io/gpencil/CMakeLists.txt (+5, -2) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_capi.cc (+11, -13) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_export_base.cc (+3, -475) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_export_base.h (+4, -87) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_export_pdf.cc (+4, -5) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_export_pdf.h (+2, -2) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_export_svg.cc (+4, -5) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_export_svg.h (+2, -2) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_import_base.cc (+6, -69) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_import_base.h (+4, -32) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_import_svg.cc (+6, -7) (Diff)
/source/blender/io/gpencil/intern/gpencil_io_import_svg.h (+2, -2) (Diff)