GPv3: Import and export for SVG and PDF

Implements the SVG import/export and PDF export operators for GPv3.

Pull Request: https://projects.blender.org/blender/blender/pulls/123996
This commit is contained in:
Lukas Tönne
2024-08-20 11:41:37 +02:00
committed by Falk David
parent 7a7ae5defe
commit 400c738db9
36 changed files with 2556 additions and 50 deletions

View File

@@ -328,8 +328,8 @@ if(WITH_IO_STL)
add_definitions(-DWITH_IO_STL)
endif()
if(WITH_IO_GPENCIL)
add_definitions(-DWITH_IO_GPENCIL)
if(WITH_IO_GREASE_PENCIL)
add_definitions(-DWITH_IO_GREASE_PENCIL)
endif()
if(WITH_ALEMBIC)

View File

@@ -263,7 +263,7 @@ static PyObject *make_builtopts_info()
SetObjIncref(Py_False);
#endif
#ifdef WITH_IO_GPENCIL
#ifdef WITH_IO_GREASE_PENCIL
SetObjIncref(Py_True);
#else
SetObjIncref(Py_False);