use BKE_mball_tessellate.h include
also remove unused includes
This commit is contained in:
parent
3d20bf75cb
commit
7bc8ddc6e2
|
@ -48,7 +48,6 @@ void BKE_mball_make_local(struct MetaBall *mb);
|
|||
|
||||
void BKE_mball_cubeTable_free(void);
|
||||
|
||||
void BKE_mball_polygonize(struct EvaluationContext *eval_ctx, struct Scene *scene, struct Object *ob, struct ListBase *dispbase);
|
||||
bool BKE_mball_is_basis_for(struct Object *ob1, struct Object *ob2);
|
||||
bool BKE_mball_is_basis(struct Object *ob);
|
||||
struct Object *BKE_mball_basis_find(struct Scene *scene, struct Object *ob);
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
/*
|
||||
* ***** BEGIN GPL LICENSE BLOCK *****
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*
|
||||
* ***** END GPL LICENSE BLOCK *****
|
||||
*/
|
||||
#ifndef __BKE_MBALL_TESSELLATE_H__
|
||||
#define __BKE_MBALL_TESSELLATE_H__
|
||||
|
||||
/** \file BKE_mball_tessellate.h
|
||||
* \ingroup bke
|
||||
*/
|
||||
struct EvaluationContext;
|
||||
struct Object;
|
||||
struct Scene;
|
||||
|
||||
void BKE_mball_polygonize(
|
||||
struct EvaluationContext *eval_ctx, struct Scene *scene,
|
||||
struct Object *ob, struct ListBase *dispbase);
|
||||
|
||||
#endif /* __BKE_MBALL_TESSELLATE_H__ */
|
|
@ -53,6 +53,7 @@
|
|||
#include "BKE_cdderivedmesh.h"
|
||||
#include "BKE_object.h"
|
||||
#include "BKE_mball.h"
|
||||
#include "BKE_mball_tessellate.h"
|
||||
#include "BKE_curve.h"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_anim.h"
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <float.h>
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "DNA_material_types.h"
|
||||
|
@ -46,7 +47,6 @@
|
|||
#include "DNA_meta_types.h"
|
||||
#include "DNA_scene_types.h"
|
||||
|
||||
|
||||
#include "BLI_blenlib.h"
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
@ -54,7 +54,6 @@
|
|||
#include "BKE_global.h"
|
||||
#include "BKE_main.h"
|
||||
|
||||
/* #include "BKE_object.h" */
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_curve.h"
|
||||
#include "BKE_depsgraph.h"
|
||||
|
|
|
@ -33,31 +33,25 @@
|
|||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <float.h>
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "DNA_material_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
#include "DNA_meta_types.h"
|
||||
#include "DNA_scene_types.h"
|
||||
|
||||
|
||||
#include "BLI_blenlib.h"
|
||||
#include "BLI_listbase.h"
|
||||
#include "BLI_path_util.h"
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_main.h"
|
||||
|
||||
/* #include "BKE_object.h" */
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_curve.h"
|
||||
#include "BKE_depsgraph.h"
|
||||
#include "BKE_scene.h"
|
||||
#include "BKE_library.h"
|
||||
#include "BKE_displist.h"
|
||||
#include "BKE_mball.h"
|
||||
#include "BKE_object.h"
|
||||
#include "BKE_material.h"
|
||||
#include "BKE_mball_tessellate.h" /* own include */
|
||||
|
||||
/* Data types */
|
||||
|
||||
|
|
Loading…
Reference in New Issue