Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/intern/bpy_app_alembic.h
- This file was copied from source/blender/editors/io/io_ops.c.
| /* | /* | ||||
| * ***** BEGIN GPL LICENSE BLOCK ***** | * ***** BEGIN GPL LICENSE BLOCK ***** | ||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | ||||
| * as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | ||||
| * of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | ||||
| * | * | ||||
| * This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | ||||
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
| * GNU General Public License for more details. | * GNU General Public License for more details. | ||||
| * | * | ||||
| * You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
| * along with this program; if not, write to the Free Software Foundation, | * along with this program; if not, write to the Free Software Foundation, | ||||
| * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| * | * | ||||
| * The Original Code is Copyright (C) 2008 Blender Foundation. | * The Original Code is Copyright (C) 2016 Blender Foundation. | ||||
| * All rights reserved. | * All rights reserved. | ||||
| * | * | ||||
| * The Original Code is: all of this file. | |||||
| * | * | ||||
| * Contributor(s): Blender Foundation | * Contributor(s): Kevin Dietrich | ||||
| * | * | ||||
| * ***** END GPL LICENSE BLOCK ***** | * ***** END GPL LICENSE BLOCK ***** | ||||
| */ | */ | ||||
| /** \file blender/editors/io/io_ops.c | /** \file blender/python/intern/bpy_app_alembic.h | ||||
| * \ingroup collada | * \ingroup pythonintern | ||||
| */ | */ | ||||
| #include "io_ops.h" /* own include */ | #ifndef __BPY_APP_ALEMBIC_H__ | ||||
| #define __BPY_APP_ALEMBIC_H__ | |||||
| #ifdef WITH_COLLADA | PyObject *BPY_app_alembic_struct(void); | ||||
| # include "io_collada.h" | |||||
| # include "WM_api.h" | #endif /* __BPY_APP_ALEMBIC_H__ */ | ||||
| #endif | |||||
| void ED_operatortypes_io(void) | |||||
| { | |||||
| #ifdef WITH_COLLADA | |||||
| /* Collada operators: */ | |||||
| WM_operatortype_append(WM_OT_collada_export); | |||||
| WM_operatortype_append(WM_OT_collada_import); | |||||
| #endif | |||||
| } | |||||