GPencil: Cleanup - Split BKE_gpencil.h geometry functions into BKE_gpencil_geom.h
This split prepare the code for future geometry functions.
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct BoundBox;
|
||||
struct Brush;
|
||||
struct CurveMapping;
|
||||
struct Depsgraph;
|
||||
@@ -226,18 +225,8 @@ struct Material *BKE_gpencil_object_material_ensure_from_active_input_brush(stru
|
||||
struct Brush *brush);
|
||||
struct Material *BKE_gpencil_object_material_ensure_from_active_input_material(struct Object *ob);
|
||||
|
||||
/* object boundbox */
|
||||
bool BKE_gpencil_data_minmax(const struct bGPdata *gpd, float r_min[3], float r_max[3]);
|
||||
bool BKE_gpencil_stroke_minmax(const struct bGPDstroke *gps,
|
||||
const bool use_select,
|
||||
float r_min[3],
|
||||
float r_max[3]);
|
||||
bool BKE_gpencil_stroke_select_check(const struct bGPDstroke *gps);
|
||||
|
||||
struct BoundBox *BKE_gpencil_boundbox_get(struct Object *ob);
|
||||
void BKE_gpencil_centroid_3d(struct bGPdata *gpd, float r_centroid[3]);
|
||||
void BKE_gpencil_stroke_boundingbox_calc(struct bGPDstroke *gps);
|
||||
|
||||
/* vertex groups */
|
||||
void BKE_gpencil_dvert_ensure(struct bGPDstroke *gps);
|
||||
void BKE_gpencil_vgroup_remove(struct Object *ob, struct bDeformGroup *defgroup);
|
||||
@@ -246,66 +235,10 @@ void BKE_gpencil_stroke_weights_duplicate(struct bGPDstroke *gps_src, struct bGP
|
||||
/* Set active frame by layer. */
|
||||
void BKE_gpencil_frame_active_set(struct Depsgraph *depsgraph, struct bGPdata *gpd);
|
||||
|
||||
/* stroke geometry utilities */
|
||||
void BKE_gpencil_stroke_normal(const struct bGPDstroke *gps, float r_normal[3]);
|
||||
void BKE_gpencil_stroke_simplify_adaptive(struct bGPDstroke *gps, float factor);
|
||||
void BKE_gpencil_stroke_simplify_fixed(struct bGPDstroke *gps);
|
||||
void BKE_gpencil_stroke_subdivide(struct bGPDstroke *gps, int level, int type);
|
||||
bool BKE_gpencil_stroke_trim(struct bGPDstroke *gps);
|
||||
void BKE_gpencil_stroke_merge_distance(struct bGPDframe *gpf,
|
||||
struct bGPDstroke *gps,
|
||||
const float threshold,
|
||||
const bool use_unselected);
|
||||
|
||||
void BKE_gpencil_stroke_2d_flat(const struct bGPDspoint *points,
|
||||
int totpoints,
|
||||
float (*points2d)[2],
|
||||
int *r_direction);
|
||||
void BKE_gpencil_stroke_2d_flat_ref(const struct bGPDspoint *ref_points,
|
||||
int ref_totpoints,
|
||||
const struct bGPDspoint *points,
|
||||
int totpoints,
|
||||
float (*points2d)[2],
|
||||
const float scale,
|
||||
int *r_direction);
|
||||
void BKE_gpencil_stroke_fill_triangulate(struct bGPDstroke *gps);
|
||||
void BKE_gpencil_stroke_geometry_update(struct bGPDstroke *gps);
|
||||
void BKE_gpencil_stroke_uv_update(struct bGPDstroke *gps);
|
||||
|
||||
void BKE_gpencil_transform(struct bGPdata *gpd, float mat[4][4]);
|
||||
|
||||
bool BKE_gpencil_stroke_sample(struct bGPDstroke *gps, const float dist, const bool select);
|
||||
bool BKE_gpencil_stroke_smooth(struct bGPDstroke *gps, int i, float inf);
|
||||
bool BKE_gpencil_stroke_smooth_strength(struct bGPDstroke *gps, int point_index, float influence);
|
||||
bool BKE_gpencil_stroke_smooth_thickness(struct bGPDstroke *gps, int point_index, float influence);
|
||||
bool BKE_gpencil_stroke_smooth_uv(struct bGPDstroke *gps, int point_index, float influence);
|
||||
bool BKE_gpencil_stroke_close(struct bGPDstroke *gps);
|
||||
void BKE_gpencil_dissolve_points(struct bGPDframe *gpf, struct bGPDstroke *gps, const short tag);
|
||||
|
||||
bool BKE_gpencil_stroke_stretch(struct bGPDstroke *gps, const float dist, const float tip_length);
|
||||
bool BKE_gpencil_stroke_trim_points(struct bGPDstroke *gps,
|
||||
const int index_from,
|
||||
const int index_to);
|
||||
bool BKE_gpencil_stroke_split(struct bGPDframe *gpf,
|
||||
struct bGPDstroke *gps,
|
||||
const int before_index,
|
||||
struct bGPDstroke **remaining_gps);
|
||||
bool BKE_gpencil_stroke_shrink(struct bGPDstroke *gps, const float dist);
|
||||
|
||||
float BKE_gpencil_stroke_length(const struct bGPDstroke *gps, bool use_3d);
|
||||
|
||||
void BKE_gpencil_frame_range_selected(struct bGPDlayer *gpl, int *r_initframe, int *r_endframe);
|
||||
float BKE_gpencil_multiframe_falloff_calc(
|
||||
struct bGPDframe *gpf, int actnum, int f_init, int f_end, struct CurveMapping *cur_falloff);
|
||||
|
||||
void BKE_gpencil_convert_curve(struct Main *bmain,
|
||||
struct Scene *scene,
|
||||
struct Object *ob_gp,
|
||||
struct Object *ob_cu,
|
||||
const bool gpencil_lines,
|
||||
const bool use_collections,
|
||||
const bool only_stroke);
|
||||
|
||||
void BKE_gpencil_palette_ensure(struct Main *bmain, struct Scene *scene);
|
||||
|
||||
bool BKE_gpencil_from_image(struct SpaceImage *sima,
|
||||
|
||||
113
source/blender/blenkernel/BKE_gpencil_geom.h
Normal file
113
source/blender/blenkernel/BKE_gpencil_geom.h
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* 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.
|
||||
*
|
||||
* The Original Code is Copyright (C) 2008, Blender Foundation
|
||||
* This is a new part of Blender
|
||||
*/
|
||||
|
||||
#ifndef __BKE_GPENCIL_GEOM_H__
|
||||
#define __BKE_GPENCIL_GEOM_H__
|
||||
|
||||
/** \file
|
||||
* \ingroup bke
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct BoundBox;
|
||||
struct Depsgraph;
|
||||
struct Main;
|
||||
struct Object;
|
||||
struct Scene;
|
||||
struct bGPDframe;
|
||||
struct bGPDlayer;
|
||||
struct bGPDspoint;
|
||||
struct bGPDstroke;
|
||||
struct bGPdata;
|
||||
|
||||
/* Object boundbox. */
|
||||
bool BKE_gpencil_data_minmax(const struct bGPdata *gpd, float r_min[3], float r_max[3]);
|
||||
bool BKE_gpencil_stroke_minmax(const struct bGPDstroke *gps,
|
||||
const bool use_select,
|
||||
float r_min[3],
|
||||
float r_max[3]);
|
||||
|
||||
struct BoundBox *BKE_gpencil_boundbox_get(struct Object *ob);
|
||||
void BKE_gpencil_centroid_3d(struct bGPdata *gpd, float r_centroid[3]);
|
||||
void BKE_gpencil_stroke_boundingbox_calc(struct bGPDstroke *gps);
|
||||
|
||||
/* stroke geometry utilities */
|
||||
void BKE_gpencil_stroke_normal(const struct bGPDstroke *gps, float r_normal[3]);
|
||||
void BKE_gpencil_stroke_simplify_adaptive(struct bGPDstroke *gps, float factor);
|
||||
void BKE_gpencil_stroke_simplify_fixed(struct bGPDstroke *gps);
|
||||
void BKE_gpencil_stroke_subdivide(struct bGPDstroke *gps, int level, int type);
|
||||
bool BKE_gpencil_stroke_trim(struct bGPDstroke *gps);
|
||||
void BKE_gpencil_stroke_merge_distance(struct bGPDframe *gpf,
|
||||
struct bGPDstroke *gps,
|
||||
const float threshold,
|
||||
const bool use_unselected);
|
||||
|
||||
void BKE_gpencil_stroke_2d_flat(const struct bGPDspoint *points,
|
||||
int totpoints,
|
||||
float (*points2d)[2],
|
||||
int *r_direction);
|
||||
void BKE_gpencil_stroke_2d_flat_ref(const struct bGPDspoint *ref_points,
|
||||
int ref_totpoints,
|
||||
const struct bGPDspoint *points,
|
||||
int totpoints,
|
||||
float (*points2d)[2],
|
||||
const float scale,
|
||||
int *r_direction);
|
||||
void BKE_gpencil_stroke_fill_triangulate(struct bGPDstroke *gps);
|
||||
void BKE_gpencil_stroke_geometry_update(struct bGPDstroke *gps);
|
||||
void BKE_gpencil_stroke_uv_update(struct bGPDstroke *gps);
|
||||
|
||||
void BKE_gpencil_transform(struct bGPdata *gpd, float mat[4][4]);
|
||||
|
||||
bool BKE_gpencil_stroke_sample(struct bGPDstroke *gps, const float dist, const bool select);
|
||||
bool BKE_gpencil_stroke_smooth(struct bGPDstroke *gps, int i, float inf);
|
||||
bool BKE_gpencil_stroke_smooth_strength(struct bGPDstroke *gps, int point_index, float influence);
|
||||
bool BKE_gpencil_stroke_smooth_thickness(struct bGPDstroke *gps, int point_index, float influence);
|
||||
bool BKE_gpencil_stroke_smooth_uv(struct bGPDstroke *gps, int point_index, float influence);
|
||||
bool BKE_gpencil_stroke_close(struct bGPDstroke *gps);
|
||||
void BKE_gpencil_dissolve_points(struct bGPDframe *gpf, struct bGPDstroke *gps, const short tag);
|
||||
|
||||
bool BKE_gpencil_stroke_stretch(struct bGPDstroke *gps, const float dist, const float tip_length);
|
||||
bool BKE_gpencil_stroke_trim_points(struct bGPDstroke *gps,
|
||||
const int index_from,
|
||||
const int index_to);
|
||||
bool BKE_gpencil_stroke_split(struct bGPDframe *gpf,
|
||||
struct bGPDstroke *gps,
|
||||
const int before_index,
|
||||
struct bGPDstroke **remaining_gps);
|
||||
bool BKE_gpencil_stroke_shrink(struct bGPDstroke *gps, const float dist);
|
||||
|
||||
float BKE_gpencil_stroke_length(const struct bGPDstroke *gps, bool use_3d);
|
||||
|
||||
void BKE_gpencil_convert_curve(struct Main *bmain,
|
||||
struct Scene *scene,
|
||||
struct Object *ob_gp,
|
||||
struct Object *ob_cu,
|
||||
const bool gpencil_lines,
|
||||
const bool use_collections,
|
||||
const bool only_stroke);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __BKE_GPENCIL_GEOM_H__ */
|
||||
@@ -119,6 +119,7 @@ set(SRC
|
||||
intern/font.c
|
||||
intern/freestyle.c
|
||||
intern/gpencil.c
|
||||
intern/gpencil_geom.c
|
||||
intern/gpencil_modifier.c
|
||||
intern/hair.c
|
||||
intern/icons.c
|
||||
@@ -299,6 +300,7 @@ set(SRC
|
||||
BKE_freestyle.h
|
||||
BKE_global.h
|
||||
BKE_gpencil.h
|
||||
BKE_gpencil_geom.h
|
||||
BKE_gpencil_modifier.h
|
||||
BKE_hair.h
|
||||
BKE_icons.h
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
2022
source/blender/blenkernel/intern/gpencil_geom.c
Normal file
2022
source/blender/blenkernel/intern/gpencil_geom.c
Normal file
File diff suppressed because it is too large
Load Diff
@@ -40,6 +40,7 @@
|
||||
#include "DNA_scene_types.h"
|
||||
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_gpencil_modifier.h"
|
||||
#include "BKE_lattice.h"
|
||||
#include "BKE_lib_id.h"
|
||||
|
||||
@@ -83,6 +83,7 @@
|
||||
#include "BKE_font.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_gpencil_modifier.h"
|
||||
#include "BKE_hair.h"
|
||||
#include "BKE_icons.h"
|
||||
|
||||
@@ -77,6 +77,7 @@
|
||||
#include "BKE_freestyle.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_gpencil_modifier.h"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_key.h"
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
|
||||
#include "DRW_engine.h"
|
||||
#include "DRW_render.h"
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include "BKE_brush.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_lib_id.h"
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_material.h"
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include "BKE_brush.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_lib_id.h"
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_material.h"
|
||||
|
||||
@@ -51,6 +51,7 @@
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_lib_id.h"
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_material.h"
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_image.h"
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_material.h"
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_report.h"
|
||||
|
||||
#include "UI_interface.h"
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include "BKE_brush.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_material.h"
|
||||
#include "BKE_report.h"
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_material.h"
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_material.h"
|
||||
#include "BKE_paint.h"
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_gpencil_modifier.h"
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_material.h"
|
||||
|
||||
@@ -51,6 +51,7 @@
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_material.h"
|
||||
#include "BKE_object.h"
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_unit.h"
|
||||
|
||||
#include "RNA_access.h"
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
#include "BKE_displist.h"
|
||||
#include "BKE_effect.h"
|
||||
#include "BKE_font.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_hair.h"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_lattice.h"
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
#include "BKE_curve.h"
|
||||
#include "BKE_editmesh.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_idcode.h"
|
||||
#include "BKE_lattice.h"
|
||||
#include "BKE_layer.h"
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include "BKE_camera.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_font.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.h"
|
||||
#include "BKE_main.h"
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
#include "BKE_curve.h"
|
||||
#include "BKE_editmesh.h"
|
||||
#include "BKE_fcurve.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_lattice.h"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.h"
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#include "DNA_scene_types.h"
|
||||
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_gpencil_modifier.h"
|
||||
#include "BKE_lattice.h"
|
||||
#include "BKE_lib_query.h"
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
#include "BKE_collection.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_gpencil_modifier.h"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_query.h"
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#include "DNA_scene_types.h"
|
||||
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_gpencil_modifier.h"
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_colortools.h"
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_gpencil_modifier.h"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_query.h"
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include "DNA_scene_types.h"
|
||||
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_gpencil_modifier.h"
|
||||
#include "BKE_lattice.h"
|
||||
#include "BKE_layer.h"
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_gpencil_modifier.h"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_query.h"
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
#include "BKE_colortools.h"
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_gpencil_modifier.h"
|
||||
#include "BKE_object.h"
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
#include "BKE_colortools.h"
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_gpencil_modifier.h"
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include "DNA_scene_types.h"
|
||||
#include "DNA_vec_types.h"
|
||||
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_gpencil_modifier.h"
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "BKE_colortools.h"
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_gpencil_modifier.h"
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include "DNA_object_types.h"
|
||||
#include "DNA_scene_types.h"
|
||||
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_gpencil_modifier.h"
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
|
||||
@@ -138,6 +138,7 @@ static EnumPropertyItem rna_enum_gpencil_caps_modes_items[] = {
|
||||
# include "BKE_action.h"
|
||||
# include "BKE_animsys.h"
|
||||
# include "BKE_gpencil.h"
|
||||
# include "BKE_gpencil_geom.h"
|
||||
# include "BKE_icons.h"
|
||||
|
||||
# include "DEG_depsgraph.h"
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "DNA_modifier_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
|
||||
#include "BKE_gpencil.h"
|
||||
#include "BKE_gpencil_geom.h"
|
||||
#include "BKE_layer.h"
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
|
||||
Reference in New Issue
Block a user