Merge branch 'blender-v2.90-release' into master

This commit is contained in:
Jacques Lucke 2020-08-07 10:04:57 +02:00
commit 7283e6fb73
1401 changed files with 1497 additions and 5524 deletions

View File

@ -21,8 +21,7 @@
* \ingroup blf
*/
#ifndef __BLF_API_H__
#define __BLF_API_H__
#pragma once
#include "BLI_compiler_attrs.h"
#include "BLI_sys_types.h"
@ -305,5 +304,3 @@ struct ResultBLF {
#ifdef __cplusplus
}
#endif
#endif /* __BLF_API_H__ */

View File

@ -21,8 +21,7 @@
* \ingroup blf
*/
#ifndef __BLF_INTERNAL_H__
#define __BLF_INTERNAL_H__
#pragma once
struct FontBLF;
struct GlyphBLF;
@ -151,5 +150,3 @@ extern FT_Error FT_New_Face__win32_compat(FT_Library library,
FT_Face *aface);
# endif
#endif
#endif /* __BLF_INTERNAL_H__ */

View File

@ -21,8 +21,7 @@
* \ingroup blf
*/
#ifndef __BLF_INTERNAL_TYPES_H__
#define __BLF_INTERNAL_TYPES_H__
#pragma once
#include "GPU_texture.h"
#include "GPU_vertex_buffer.h"
@ -258,5 +257,3 @@ typedef struct DirBLF {
/* full path where search fonts. */
char *path;
} DirBLF;
#endif /* __BLF_INTERNAL_TYPES_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_DERIVEDMESH_H__
#define __BKE_DERIVEDMESH_H__
#pragma once
/** \file
* \ingroup bke
@ -389,5 +388,3 @@ bool DM_is_valid(DerivedMesh *dm);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_DERIVEDMESH_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_ACTION_H__
#define __BKE_ACTION_H__
#pragma once
/** \file
* \ingroup bke
@ -223,5 +222,3 @@ void BKE_pose_tag_recalc(struct Main *bmain, struct bPose *pose);
#ifdef __cplusplus
};
#endif
#endif

View File

@ -13,8 +13,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_ADDON_H__
#define __BKE_ADDON_H__
#pragma once
/** \file
* \ingroup bke
@ -56,5 +55,3 @@ void BKE_addon_free(struct bAddon *addon);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_ADDON_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_ANIM_DATA_H__
#define __BKE_ANIM_DATA_H__
#pragma once
/** \file
* \ingroup bke
@ -98,5 +97,3 @@ void BKE_animdata_merge_copy(struct Main *bmain,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_ANIM_DATA_H__*/

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_ANIM_PATH_H__
#define __BKE_ANIM_PATH_H__
#pragma once
/** \file
* \ingroup bke
@ -47,5 +46,3 @@ bool where_on_path(const struct Object *ob,
#ifdef __cplusplus
}
#endif
#endif

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_ANIM_VISUALIZATION_H__
#define __BKE_ANIM_VISUALIZATION_H__
#pragma once
/** \file
* \ingroup bke
@ -52,5 +51,3 @@ struct bMotionPath *animviz_verify_motionpaths(struct ReportList *reports,
#ifdef __cplusplus
}
#endif
#endif

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_ANIMSYS_H__
#define __BKE_ANIMSYS_H__
#pragma once
/** \file
* \ingroup bke
@ -276,5 +275,3 @@ void BKE_animsys_update_driver_array(struct ID *id);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_ANIMSYS_H__*/

View File

@ -13,8 +13,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_APPDIR_H__
#define __BKE_APPDIR_H__
#pragma once
/** \file
* \ingroup bli
@ -101,5 +100,3 @@ enum {
#ifdef __cplusplus
}
#endif
#endif /* __BKE_APPDIR_H__ */

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_ARMATURE_H__
#define __BKE_ARMATURE_H__
#pragma once
/** \file
* \ingroup bke
@ -389,5 +388,3 @@ void BKE_armature_deform_coords_with_editmesh(const struct Object *ob_arm,
#ifdef __cplusplus
}
#endif
#endif

View File

@ -13,8 +13,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_AUTOEXEC_H__
#define __BKE_AUTOEXEC_H__
#pragma once
/** \file
* \ingroup bke
@ -29,5 +28,3 @@ bool BKE_autoexec_match(const char *path);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_AUTOEXEC_H__ */

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_BLENDER_H__
#define __BKE_BLENDER_H__
#pragma once
/** \file
* \ingroup bke
@ -54,5 +53,3 @@ void BKE_blender_atexit(void);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_BLENDER_H__ */

View File

@ -13,8 +13,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_BLENDER_COPYBUFFER_H__
#define __BKE_BLENDER_COPYBUFFER_H__
#pragma once
/** \file
* \ingroup bke
@ -48,5 +47,3 @@ int BKE_copybuffer_paste(struct bContext *C,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_BLENDER_COPYBUFFER_H__ */

View File

@ -13,8 +13,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_BLENDER_UNDO_H__
#define __BKE_BLENDER_UNDO_H__
#pragma once
/** \file
* \ingroup bke
@ -41,5 +40,3 @@ void BKE_memfile_undo_free(struct MemFileUndoData *mfu);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_BLENDER_UNDO_H__ */

View File

@ -14,8 +14,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_BLENDER_USER_MENU_H__
#define __BKE_BLENDER_USER_MENU_H__
#pragma once
/** \file
* \ingroup bke
@ -43,5 +42,3 @@ void BKE_blender_user_menu_item_free_list(struct ListBase *lb);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_BLENDER_USER_MENU_H__ */

View File

@ -13,8 +13,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_BLENDER_VERSION_H__
#define __BKE_BLENDER_VERSION_H__
#pragma once
#ifdef __cplusplus
extern "C" {
@ -54,5 +53,3 @@ const char *BKE_blender_version_string(void);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_BLENDER_VERSION_H__ */

View File

@ -13,8 +13,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_BLENDFILE_H__
#define __BKE_BLENDFILE_H__
#pragma once
/** \file
* \ingroup bke
@ -81,5 +80,3 @@ void BKE_blendfile_write_partial_end(struct Main *bmain_src);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_BLENDFILE_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_BOIDS_H__
#define __BKE_BOIDS_H__
#pragma once
/** \file
* \ingroup bke
@ -62,5 +61,3 @@ BoidState *boid_get_current_state(BoidSettings *boids);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -20,8 +20,7 @@
* so for BPath we don't need to malloc
*/
#ifndef __BKE_BPATH_H__
#define __BKE_BPATH_H__
#pragma once
#ifdef __cplusplus
extern "C" {
@ -92,5 +91,3 @@ void BKE_bpath_absolute_convert(struct Main *bmain,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_BPATH_H__ */

View File

@ -14,8 +14,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_BRUSH_H__
#define __BKE_BRUSH_H__
#pragma once
/** \file
* \ingroup bke
@ -157,5 +156,3 @@ void BKE_brush_debug_print_state(struct Brush *br);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2006 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_BVHUTILS_H__
#define __BKE_BVHUTILS_H__
#pragma once
/** \file
* \ingroup bke
@ -263,5 +262,3 @@ void bvhcache_free(struct BVHCache *bvh_cache);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_CACHEFILE_H__
#define __BKE_CACHEFILE_H__
#pragma once
/** \file
* \ingroup bke
@ -66,5 +65,3 @@ void BKE_cachefile_reader_free(struct CacheFile *cache_file, struct CacheReader
#ifdef __cplusplus
}
#endif
#endif /* __BKE_CACHEFILE_H__ */

View File

@ -18,8 +18,7 @@
* \ingroup bke
*/
#ifndef __BKE_CALLBACKS_H__
#define __BKE_CALLBACKS_H__
#pragma once
#ifdef __cplusplus
extern "C" {
@ -88,5 +87,3 @@ void BKE_callback_global_finalize(void);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_CALLBACKS_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_CAMERA_H__
#define __BKE_CAMERA_H__
#pragma once
/** \file
* \ingroup bke
@ -167,5 +166,3 @@ void BKE_camera_background_image_clear(struct Camera *cam);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_CCG_H__
#define __BKE_CCG_H__
#pragma once
/** \file
* \ingroup bke
@ -166,5 +165,3 @@ BLI_INLINE CCGElem *CCG_elem_next(const CCGKey *key, CCGElem *elem)
#ifdef __cplusplus
}
#endif
#endif

View File

@ -26,8 +26,7 @@
* \note This is deprecated & should eventually be removed.
*/
#ifndef __BKE_CDDERIVEDMESH_H__
#define __BKE_CDDERIVEDMESH_H__
#pragma once
#ifdef __cplusplus
extern "C" {
@ -49,5 +48,3 @@ struct DerivedMesh *CDDM_copy(struct DerivedMesh *dm);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) Blender Foundation.
* All rights reserved.
*/
#ifndef __BKE_CLOTH_H__
#define __BKE_CLOTH_H__
#pragma once
/** \file
* \ingroup bke
@ -307,5 +306,3 @@ void cloth_parallel_transport_hair_frame(float mat[3][3],
#ifdef __cplusplus
}
#endif
#endif

View File

@ -14,8 +14,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_COLLECTION_H__
#define __BKE_COLLECTION_H__
#pragma once
/** \file
* \ingroup bke
@ -255,5 +254,3 @@ void BKE_scene_objects_iterator_end(struct BLI_Iterator *iter);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_COLLECTION_H__ */

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) Blender Foundation.
* All rights reserved.
*/
#ifndef __BKE_COLLISION_H__
#define __BKE_COLLISION_H__
#pragma once
/** \file
* \ingroup bke
@ -178,5 +177,3 @@ void BKE_collider_cache_free(struct ListBase **colliders);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_COLORBAND_H__
#define __BKE_COLORBAND_H__
#pragma once
/** \file
* \ingroup bke
@ -47,5 +46,3 @@ void BKE_colorband_update_sort(struct ColorBand *coba);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_COLORBAND_H__ */

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2006 Blender Foundation.
* All rights reserved.
*/
#ifndef __BKE_COLORTOOLS_H__
#define __BKE_COLORTOOLS_H__
#pragma once
/** \file
* \ingroup bke
@ -152,5 +151,3 @@ bool BKE_color_managed_colorspace_settings_equals(
#ifdef __cplusplus
}
#endif
#endif

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_CONSTRAINT_H__
#define __BKE_CONSTRAINT_H__
#pragma once
/** \file
* \ingroup bke
@ -224,5 +223,3 @@ void BKE_constraints_solve(struct Depsgraph *depsgraph,
#ifdef __cplusplus
}
#endif
#endif

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_CONTEXT_H__
#define __BKE_CONTEXT_H__
#pragma once
/** \file
* \ingroup bke
@ -346,5 +345,3 @@ struct Depsgraph *CTX_data_depsgraph_on_load(const bContext *C);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -21,8 +21,7 @@
* \ingroup bke
*/
#ifndef __BKE_CRAZYSPACE_H__
#define __BKE_CRAZYSPACE_H__
#pragma once
#ifdef __cplusplus
extern "C" {
@ -65,5 +64,3 @@ void BKE_crazyspace_build_sculpt(struct Depsgraph *depsgraph,
#ifdef __cplusplus
}
#endif
#endif

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_CURVE_H__
#define __BKE_CURVE_H__
#pragma once
/** \file
* \ingroup bke
@ -339,5 +338,3 @@ void BKE_curve_deform_co(const struct Object *ob_curve,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_CURVE_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_CURVEPROFILE_H__
#define __BKE_CURVEPROFILE_H__
#pragma once
/** \file
* \ingroup bke
@ -101,5 +100,3 @@ void BKE_curveprofile_blend_read(struct BlendDataReader *reader, struct CurvePro
#ifdef __cplusplus
}
#endif
#endif

View File

@ -22,8 +22,7 @@
* \brief CustomData interface, see also DNA_customdata_types.h.
*/
#ifndef __BKE_CUSTOMDATA_H__
#define __BKE_CUSTOMDATA_H__
#pragma once
#include "BLI_sys_types.h"
#include "BLI_utildefines.h"
@ -575,5 +574,3 @@ void CustomData_data_transfer(const struct MeshPairRemap *me_remap,
#ifdef __cplusplus
}
#endif
#endif

View File

@ -14,8 +14,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_CUSTOMDATA_FILE_H__
#define __BKE_CUSTOMDATA_FILE_H__
#pragma once
/** \file
* \ingroup bke
@ -60,5 +59,3 @@ CDataFileLayer *cdf_layer_add(CDataFile *cdf, int type, const char *name, size_t
#ifdef __cplusplus
}
#endif
#endif /* __BKE_CUSTOMDATA_FILE_H__ */

View File

@ -21,8 +21,7 @@
* \ingroup bke
*/
#ifndef __BKE_DATA_TRANSFER_H__
#define __BKE_DATA_TRANSFER_H__
#pragma once
#include "BKE_customdata.h"
@ -181,5 +180,3 @@ bool BKE_object_data_transfer_ex(struct Depsgraph *depsgraph,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_DATA_TRANSFER_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_DEFORM_H__
#define __BKE_DEFORM_H__
#pragma once
#ifdef __cplusplus
extern "C" {
@ -166,5 +165,3 @@ void BKE_defvert_weight_to_rgb(float r_rgb[3], const float weight);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_DEFORM_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_DISPLIST_H__
#define __BKE_DISPLIST_H__
#pragma once
/** \file
* \ingroup bke
@ -119,5 +118,3 @@ void BKE_displist_minmax(struct ListBase *dispbase, float min[3], float max[3]);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -14,8 +14,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_DISPLIST_TANGENT_H__
#define __BKE_DISPLIST_TANGENT_H__
#pragma once
/** \file
* \ingroup bke
@ -30,5 +29,3 @@ void BKE_displist_tangent_calc(const DispList *dl, float (*fnormals)[3], float (
#ifdef __cplusplus
}
#endif
#endif /* __BKE_DISPLIST_TANGENT_H__ */

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_DUPLILIST_H__
#define __BKE_DUPLILIST_H__
#pragma once
/** \file
* \ingroup bke
@ -64,5 +63,3 @@ typedef struct DupliObject {
#ifdef __cplusplus
}
#endif
#endif

View File

@ -14,8 +14,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_DYNAMICPAINT_H__
#define __BKE_DYNAMICPAINT_H__
#pragma once
/** \file
* \ingroup bke
@ -124,5 +123,3 @@ void dynamicPaint_outputSurfaceImage(struct DynamicPaintSurface *surface,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_DYNAMICPAINT_H__ */

View File

@ -18,8 +18,7 @@
* \ingroup bke
*/
#ifndef __BKE_EDITLATTICE_H__
#define __BKE_EDITLATTICE_H__
#pragma once
#ifdef __cplusplus
extern "C" {
@ -34,5 +33,3 @@ void BKE_editlattice_load(struct Object *obedit);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_EDITLATTICE_H__ */

View File

@ -14,8 +14,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_EDITMESH_H__
#define __BKE_EDITMESH_H__
#pragma once
/** \file
* \ingroup bke
@ -107,5 +106,3 @@ struct BoundBox *BKE_editmesh_cage_boundbox_get(BMEditMesh *em);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_EDITMESH_H__ */

View File

@ -21,8 +21,7 @@
* \ingroup bke
*/
#ifndef __BKE_EDITMESH_BVH_H__
#define __BKE_EDITMESH_BVH_H__
#pragma once
#ifdef __cplusplus
extern "C" {
@ -104,5 +103,3 @@ enum {
#ifdef __cplusplus
}
#endif
#endif /* __BKE_EDITMESH_BVH_H__ */

View File

@ -14,8 +14,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_EDITMESH_CACHE_H__
#define __BKE_EDITMESH_CACHE_H__
#pragma once
/** \file
* \ingroup bke
@ -41,5 +40,3 @@ bool BKE_editmesh_cache_calc_minmax(struct BMEditMesh *em,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_EDITMESH_CACHE_H__ */

View File

@ -14,8 +14,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_EDITMESH_TANGENT_H__
#define __BKE_EDITMESH_TANGENT_H__
#pragma once
/** \file
* \ingroup bke
@ -39,5 +38,3 @@ void BKE_editmesh_loop_tangent_calc(BMEditMesh *em,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_EDITMESH_TANGENT_H__ */

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_EFFECT_H__
#define __BKE_EFFECT_H__
#pragma once
/** \file
* \ingroup bke
@ -283,5 +282,3 @@ void BKE_sim_debug_data_clear_category(const char *category);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_FCURVE_H__
#define __BKE_FCURVE_H__
#pragma once
/** \file
* \ingroup bke
@ -315,5 +314,3 @@ void fcurve_store_samples(
#ifdef __cplusplus
}
#endif
#endif /* __BKE_FCURVE_H__*/

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_FCURVE_DRIVER_H__
#define __BKE_FCURVE_DRIVER_H__
#pragma once
/** \file
* \ingroup bke
@ -103,5 +102,3 @@ float evaluate_driver(struct PathResolvedRNA *anim_rna,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_FCURVE_DRIVER_H__*/

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_FLUID_H__
#define __BKE_FLUID_H__
#pragma once
/** \file
* \ingroup bke
@ -101,5 +100,3 @@ void BKE_fluid_flow_behavior_set(struct Object *object,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_FLUID_H__ */

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_FONT_H__
#define __BKE_FONT_H__
#pragma once
/** \file
* \ingroup bke
@ -102,5 +101,3 @@ void BKE_vfont_clipboard_get(char32_t **r_text_buf,
#ifdef __cplusplus
}
#endif
#endif

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_FREESTYLE_H__
#define __BKE_FREESTYLE_H__
#pragma once
/** \file
* \ingroup bke
@ -66,5 +65,3 @@ void BKE_freestyle_lineset_unique_name(FreestyleConfig *config, FreestyleLineSet
#ifdef __cplusplus
}
#endif
#endif

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_GLOBAL_H__
#define __BKE_GLOBAL_H__
#pragma once
/** \file
* \ingroup bke
@ -224,5 +223,3 @@ extern Global G;
#ifdef __cplusplus
}
#endif
#endif

View File

@ -17,8 +17,7 @@
* This is a new part of Blender
*/
#ifndef __BKE_GPENCIL_H__
#define __BKE_GPENCIL_H__
#pragma once
/** \file
* \ingroup bke
@ -280,5 +279,3 @@ void BKE_gpencil_update_layer_parent(const struct Depsgraph *depsgraph, struct O
#ifdef __cplusplus
}
#endif
#endif /* __BKE_GPENCIL_H__ */

View File

@ -17,8 +17,7 @@
* This is a new part of Blender
*/
#ifndef __BKE_GPENCIL_CURVE_H__
#define __BKE_GPENCIL_CURVE_H__
#pragma once
/** \file
* \ingroup bke
@ -43,5 +42,3 @@ void BKE_gpencil_convert_curve(struct Main *bmain,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_GPENCIL_CURVE_H__ */

View File

@ -17,8 +17,7 @@
* This is a new part of Blender
*/
#ifndef __BKE_GPENCIL_GEOM_H__
#define __BKE_GPENCIL_GEOM_H__
#pragma once
/** \file
* \ingroup bke
@ -131,5 +130,3 @@ void BKE_gpencil_convert_mesh(struct Main *bmain,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_GPENCIL_GEOM_H__ */

View File

@ -13,8 +13,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_GPENCIL_MODIFIER_H__
#define __BKE_GPENCIL_MODIFIER_H__
#pragma once
/** \file
* \ingroup bke
@ -316,5 +315,3 @@ struct bGPDframe *BKE_gpencil_frame_retime_get(struct Depsgraph *depsgraph,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_GPENCIL_MODIFIER_H__ */

View File

@ -14,8 +14,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_HAIR_H__
#define __BKE_HAIR_H__
#pragma once
/** \file
* \ingroup bke
@ -61,5 +60,3 @@ extern void (*BKE_hair_batch_cache_free_cb)(struct Hair *hair);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_ICONS_H__
#define __BKE_ICONS_H__
#pragma once
/** \file
* \ingroup bke
@ -173,5 +172,3 @@ int BKE_icon_ensure_studio_light(struct StudioLight *sl, int id_type);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_ICONS_H__ */

View File

@ -14,8 +14,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_IDPROP_H__
#define __BKE_IDPROP_H__
#pragma once
/** \file
* \ingroup bke
@ -200,5 +199,3 @@ void IDP_print(const struct IDProperty *prop);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_IDPROP_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_IDTYPE_H__
#define __BKE_IDTYPE_H__
#pragma once
/** \file
* \ingroup bke
@ -246,5 +245,3 @@ void BKE_idtype_id_foreach_cache(struct ID *id,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_IDTYPE_H__ */

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_IMAGE_H__
#define __BKE_IMAGE_H__
#pragma once
/** \file
* \ingroup bke
@ -399,5 +398,3 @@ bool BKE_image_clear_renderslot(struct Image *ima, struct ImageUser *iuser, int
#ifdef __cplusplus
}
#endif
#endif

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_IMAGE_SAVE_H__
#define __BKE_IMAGE_SAVE_H__
#pragma once
#include "DNA_scene_types.h"
@ -62,5 +61,3 @@ bool BKE_image_save(struct ReportList *reports,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_IMAGE_SAVE_H__ */

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_IPO_H__
#define __BKE_IPO_H__
#pragma once
/** \file
* \ingroup bke
@ -37,5 +36,3 @@ void do_versions_ipos_to_animato(struct Main *main);
#ifdef __cplusplus
};
#endif
#endif

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) Blender Foundation.
* All rights reserved.
*/
#ifndef __BKE_KELVINLET_H__
#define __BKE_KELVINLET_H__
#pragma once
/** \file
* \ingroup bke
@ -81,5 +80,3 @@ void BKE_kelvinlet_twist(float r_elem_disp[3],
#ifdef __cplusplus
}
#endif
#endif

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_KEY_H__
#define __BKE_KEY_H__
#pragma once
/** \file
* \ingroup bke
@ -139,5 +138,3 @@ void BKE_keyblock_data_set(struct Key *key, const int shape_index, const void *d
#ifdef __cplusplus
};
#endif
#endif /* __BKE_KEY_H__ */

View File

@ -13,8 +13,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_KEYCONFIG_H__
#define __BKE_KEYCONFIG_H__
#pragma once
/** \file
* \ingroup bke
@ -76,5 +75,3 @@ void BKE_keyconfig_pref_filter_items(struct UserDef *userdef,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_KEYCONFIG_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_LATTICE_H__
#define __BKE_LATTICE_H__
#pragma once
/** \file
* \ingroup bke
@ -140,5 +139,3 @@ void BKE_lattice_deform_coords_with_editmesh(const struct Object *ob_lattice,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_LATTICE_H__ */

View File

@ -14,8 +14,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_LAYER_H__
#define __BKE_LAYER_H__
#pragma once
/** \file
* \ingroup bke
@ -416,5 +415,3 @@ bool BKE_view_layer_filter_edit_mesh_has_edges(struct Object *ob, void *user_dat
#ifdef __cplusplus
}
#endif
#endif /* __BKE_LAYER_H__ */

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_LIB_ID_H__
#define __BKE_LIB_ID_H__
#pragma once
/** \file
* \ingroup bke
@ -291,5 +290,3 @@ void BKE_id_reorder(const struct ListBase *lb, struct ID *id, struct ID *relativ
#ifdef __cplusplus
}
#endif
#endif /* __BKE_LIB_ID_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_LIB_OVERRIDE_H__
#define __BKE_LIB_OVERRIDE_H__
#pragma once
/** \file
* \ingroup bke
@ -151,5 +150,3 @@ void BKE_lib_override_library_operations_store_finalize(OverrideLibraryStorage *
#ifdef __cplusplus
}
#endif
#endif /* __BKE_LIB_OVERRIDE_H__ */

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2014 by Blender Foundation.
* All rights reserved.
*/
#ifndef __BKE_LIB_QUERY_H__
#define __BKE_LIB_QUERY_H__
#pragma once
/** \file
* \ingroup bke
@ -182,5 +181,3 @@ void BKE_library_indirectly_used_data_tag_clear(struct Main *bmain);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_LIB_QUERY_H__ */

View File

@ -13,8 +13,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_LIB_REMAP_H__
#define __BKE_LIB_REMAP_H__
#pragma once
/** \file
* \ingroup bke
@ -113,5 +112,3 @@ void BKE_library_callback_remap_editor_id_reference_set(
#ifdef __cplusplus
}
#endif
#endif /* __BKE_LIB_REMAP_H__ */

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_LIBRARY_H__
#define __BKE_LIBRARY_H__
#pragma once
/** \file
* \ingroup bke
@ -39,5 +38,3 @@ void BKE_library_filepath_set(struct Main *bmain, struct Library *lib, const cha
#ifdef __cplusplus
}
#endif
#endif /* __BKE_LIBRARY_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_LIGHT_H__
#define __BKE_LIGHT_H__
#pragma once
/** \file
* \ingroup bke
@ -44,5 +43,3 @@ void BKE_light_eval(struct Depsgraph *depsgraph, struct Light *la);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_LIGHTPROBE_H__
#define __BKE_LIGHTPROBE_H__
#pragma once
/** \file
* \ingroup bke
@ -39,5 +38,3 @@ struct LightProbe *BKE_lightprobe_copy(struct Main *bmain, const struct LightPro
#ifdef __cplusplus
}
#endif
#endif /* __BKE_LIGHTPROBE_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_LINESTYLE_H__
#define __BKE_LINESTYLE_H__
#pragma once
/** \file
* \ingroup bke
@ -106,5 +105,3 @@ void BKE_linestyle_default_shader(const struct bContext *C, FreestyleLineStyle *
#ifdef __cplusplus
}
#endif
#endif /* __BKE_LINESTYLE_H__ */

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_MAIN_H__
#define __BKE_MAIN_H__
#pragma once
/** \file
* \ingroup bke
@ -250,5 +249,3 @@ int set_listbasepointers(struct Main *main, struct ListBase *lb[MAX_LIBARRAY]);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_MAIN_H__ */

View File

@ -13,8 +13,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_MAIN_IDMAP_H__
#define __BKE_MAIN_IDMAP_H__
#pragma once
/** \file
* \ingroup bke
@ -69,5 +68,3 @@ struct ID *BKE_main_idmap_lookup_uuid(struct IDNameLib_Map *id_typemap,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_MAIN_IDMAP_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_MASK_H__
#define __BKE_MASK_H__
#pragma once
/** \file
* \ingroup bke
@ -331,5 +330,3 @@ void BKE_maskrasterize_buffer(MaskRasterHandle *mr_handle,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_MASK_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_MATERIAL_H__
#define __BKE_MATERIAL_H__
#pragma once
/** \file
* \ingroup bke
@ -136,5 +135,3 @@ void BKE_material_eval(struct Depsgraph *depsgraph, struct Material *material);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_MBALL_H__
#define __BKE_MBALL_H__
#pragma once
/** \file
* \ingroup bke
@ -92,5 +91,3 @@ extern void (*BKE_mball_batch_cache_free_cb)(struct MetaBall *mb);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -13,8 +13,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_MBALL_TESSELLATE_H__
#define __BKE_MBALL_TESSELLATE_H__
#pragma once
/** \file
* \ingroup bke
@ -38,5 +37,3 @@ void BKE_mball_cubeTable_free(void);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_MBALL_TESSELLATE_H__ */

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_MESH_H__
#define __BKE_MESH_H__
#pragma once
/** \file
* \ingroup bke
@ -707,5 +706,3 @@ BLI_INLINE int BKE_mesh_origindex_mface_mpoly(const int *index_mf_to_mpoly,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_MESH_H__ */

View File

@ -13,8 +13,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_MESH_ITERATORS_H__
#define __BKE_MESH_ITERATORS_H__
#pragma once
/** \file
* \ingroup bke
@ -70,5 +69,3 @@ void BKE_mesh_foreach_mapped_vert_coords_get(struct Mesh *me_eval,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_MESH_ITERATORS_H__ */

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_MESH_MAPPING_H__
#define __BKE_MESH_MAPPING_H__
#pragma once
/** \file
* \ingroup bke
@ -258,5 +257,3 @@ int *BKE_mesh_calc_smoothgroups(const struct MEdge *medge,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_MESH_MAPPING_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_MESH_MIRROR_H__
#define __BKE_MESH_MIRROR_H__
#pragma once
/** \file
* \ingroup bke
@ -49,5 +48,3 @@ struct Mesh *BKE_mesh_mirror_apply_mirror_on_axis(struct MirrorModifierData *mmd
#ifdef __cplusplus
}
#endif
#endif /* __BKE_MESH_MIRROR_H__ */

View File

@ -14,8 +14,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_MESH_REMAP_H__
#define __BKE_MESH_REMAP_H__
#pragma once
/** \file
* \ingroup bke
@ -234,5 +233,3 @@ void BKE_mesh_remap_calc_polys_from_mesh(const int mode,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_MESH_REMAP_H__ */

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_MESH_REMESH_VOXEL_H__
#define __BKE_MESH_REMESH_VOXEL_H__
#pragma once
/** \file
* \ingroup bke
@ -66,5 +65,3 @@ void BKE_remesh_reproject_sculpt_face_sets(struct Mesh *target, struct Mesh *sou
#ifdef __cplusplus
}
#endif
#endif /* __BKE_MESH_REMESH_VOXEL_H__ */

View File

@ -16,8 +16,7 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*/
#ifndef __BKE_MESH_RUNTIME_H__
#define __BKE_MESH_RUNTIME_H__
#pragma once
/** \file
* \ingroup bke
@ -111,5 +110,3 @@ bool BKE_mesh_runtime_is_valid(struct Mesh *me_eval);
#ifdef __cplusplus
}
#endif
#endif /* __BKE_MESH_RUNTIME_H__ */

View File

@ -13,8 +13,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_MESH_TANGENT_H__
#define __BKE_MESH_TANGENT_H__
#pragma once
/** \file
* \ingroup bke
@ -87,5 +86,3 @@ void BKE_mesh_calc_loop_tangent_step_0(const struct CustomData *loopData,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_MESH_TANGENT_H__ */

View File

@ -13,8 +13,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_MESH_WRAPPER_H__
#define __BKE_MESH_WRAPPER_H__
#pragma once
/** \file
* \ingroup bke
@ -55,5 +54,3 @@ void BKE_mesh_wrapper_vert_coords_copy_with_mat4(const struct Mesh *me,
#ifdef __cplusplus
}
#endif
#endif /* __BKE_MESH_WRAPPER_H__ */

View File

@ -13,8 +13,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __BKE_MODIFIER_H__
#define __BKE_MODIFIER_H__
#pragma once
/** \file
* \ingroup bke
@ -543,5 +542,3 @@ struct Mesh *BKE_modifier_get_evaluated_mesh_from_evaluated_object(struct Object
#ifdef __cplusplus
}
#endif
#endif

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_MOVIECLIP_H__
#define __BKE_MOVIECLIP_H__
#pragma once
/** \file
* \ingroup bke
@ -137,5 +136,3 @@ void BKE_movieclip_eval_selection_update(struct Depsgraph *depsgraph, struct Mov
#ifdef __cplusplus
}
#endif
#endif

View File

@ -17,8 +17,7 @@
* All rights reserved.
*/
#ifndef __BKE_MULTIRES_H__
#define __BKE_MULTIRES_H__
#pragma once
/** \file
* \ingroup bke
@ -235,5 +234,3 @@ BLI_INLINE void BKE_multires_construct_tangent_matrix(float tangent_matrix[3][3]
#endif
#include "intern/multires_inline.h"
#endif /* __BKE_MULTIRES_H__ */

Some files were not shown because too many files have changed in this diff Show More