Listing the "Blender Foundation" as copyright holder implied the Blender Foundation holds copyright to files which may include work from many developers. While keeping copyright on headers makes sense for isolated libraries, Blender's own code may be refactored or moved between files in a way that makes the per file copyright holders less meaningful. Copyright references to the "Blender Foundation" have been replaced with "Blender Authors", with the exception of `./extern/` since these this contains libraries which are more isolated, any changed to license headers there can be handled on a case-by-case basis. Some directories in `./intern/` have also been excluded: - `./intern/cycles/` it's own `AUTHORS` file is planned. - `./intern/opensubdiv/`. An "AUTHORS" file has been added, using the chromium projects authors file as a template. Design task: #110784 Ref !110783.
77 lines
1.7 KiB
C++
77 lines
1.7 KiB
C++
/* SPDX-FileCopyrightText: 2008 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/** \file
|
|
* \ingroup collada
|
|
*/
|
|
|
|
#include "io_ops.hh" /* own include */
|
|
|
|
#include "WM_api.hh"
|
|
|
|
#ifdef WITH_COLLADA
|
|
# include "io_collada.hh"
|
|
#endif
|
|
|
|
#ifdef WITH_ALEMBIC
|
|
# include "io_alembic.hh"
|
|
#endif
|
|
|
|
#ifdef WITH_USD
|
|
# include "io_usd.hh"
|
|
#endif
|
|
|
|
#include "io_cache.hh"
|
|
#include "io_gpencil.hh"
|
|
#include "io_obj.hh"
|
|
#include "io_ply_ops.hh"
|
|
#include "io_stl_ops.hh"
|
|
|
|
void ED_operatortypes_io()
|
|
{
|
|
#ifdef WITH_COLLADA
|
|
/* Collada operators: */
|
|
WM_operatortype_append(WM_OT_collada_export);
|
|
WM_operatortype_append(WM_OT_collada_import);
|
|
#endif
|
|
#ifdef WITH_ALEMBIC
|
|
WM_operatortype_append(WM_OT_alembic_import);
|
|
WM_operatortype_append(WM_OT_alembic_export);
|
|
#endif
|
|
#ifdef WITH_USD
|
|
WM_operatortype_append(WM_OT_usd_import);
|
|
WM_operatortype_append(WM_OT_usd_export);
|
|
#endif
|
|
|
|
#ifdef WITH_IO_GPENCIL
|
|
WM_operatortype_append(WM_OT_gpencil_import_svg);
|
|
# ifdef WITH_PUGIXML
|
|
WM_operatortype_append(WM_OT_gpencil_export_svg);
|
|
# endif
|
|
# ifdef WITH_HARU
|
|
WM_operatortype_append(WM_OT_gpencil_export_pdf);
|
|
# endif
|
|
#endif
|
|
|
|
WM_operatortype_append(CACHEFILE_OT_open);
|
|
WM_operatortype_append(CACHEFILE_OT_reload);
|
|
|
|
WM_operatortype_append(CACHEFILE_OT_layer_add);
|
|
WM_operatortype_append(CACHEFILE_OT_layer_remove);
|
|
WM_operatortype_append(CACHEFILE_OT_layer_move);
|
|
#ifdef WITH_IO_WAVEFRONT_OBJ
|
|
WM_operatortype_append(WM_OT_obj_export);
|
|
WM_operatortype_append(WM_OT_obj_import);
|
|
#endif
|
|
|
|
#ifdef WITH_IO_PLY
|
|
WM_operatortype_append(WM_OT_ply_export);
|
|
WM_operatortype_append(WM_OT_ply_import);
|
|
#endif
|
|
|
|
#ifdef WITH_IO_STL
|
|
WM_operatortype_append(WM_OT_stl_import);
|
|
#endif
|
|
}
|