Blender
V3.3
|
#include "DNA_curve_types.h"
#include "DNA_object_types.h"
#include "DNA_vfont_types.h"
#include "BLI_utildefines.h"
#include "BKE_curve.h"
#include "BKE_displist.h"
#include "BKE_lib_id.h"
#include "BKE_modifier.h"
#include "BKE_vfont.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_query.h"
Go to the source code of this file.
Functions | |
static Curve * | curve_from_font_object (Object *object, Depsgraph *depsgraph) |
static Curve * | curve_from_curve_object (Object *object, Depsgraph *depsgraph, bool apply_modifiers) |
Curve * | BKE_curve_new_from_object (Object *object, Depsgraph *depsgraph, bool apply_modifiers) |
Definition at line 56 of file curve_convert.c.
References curve_from_curve_object(), curve_from_font_object(), depsgraph, ELEM, NULL, OB_CURVES_LEGACY, OB_FONT, and Object::type.
Referenced by BKE_object_to_curve().
|
static |
Definition at line 38 of file curve_convert.c.
References BKE_curve_calc_modifiers_pre(), BKE_curve_nurbs_get(), BKE_id_copy_ex(), curve, DAG_EVAL_RENDER, Object::data, DEG_get_evaluated_object(), DEG_get_input_scene(), DEG_get_mode(), depsgraph, Curve::id, LIB_ID_COPY_LOCALIZE, and NULL.
Referenced by BKE_curve_new_from_object().
Definition at line 22 of file curve_convert.c.
References BKE_curve_dimension_update(), BKE_id_copy_ex(), BKE_vfont_to_curve_nubase(), CU_3D, curve, Object::data, DEG_get_evaluated_object(), depsgraph, FO_EDIT, Curve::id, LIB_ID_COPY_LOCALIZE, NULL, and OB_CURVES_LEGACY.
Referenced by BKE_curve_new_from_object().