27 Curve *new_curve = id_cast<Curve *>(
44 Curve *curve = id_cast<Curve *>(evaluated_object->
data);
45 Curve *new_curve = id_cast<Curve *>(
48 if (apply_modifiers) {
display list (or rather multi purpose list) stuff.
Object is a sort of wrapper for general info.
ListBaseT< Nurb > * BKE_curve_nurbs_get(Curve *cu)
static Curve * curve_from_curve_object(Object *object, Depsgraph *depsgraph, bool apply_modifiers)
void BKE_curve_calc_modifiers_pre(struct Depsgraph *depsgraph, const struct Scene *scene, struct Object *ob, ListBaseT< Nurb > *source_nurb, ListBaseT< Nurb > *target_nurb, bool for_render)
Curve * BKE_curve_new_from_object(Object *object, Depsgraph *depsgraph, bool apply_modifiers)
T * DEG_get_evaluated(const Depsgraph *depsgraph, T *id)
eEvaluationMode DEG_get_mode(const Depsgraph *graph)
Scene * DEG_get_input_scene(const Depsgraph *graph)
ID * BKE_id_copy_ex(Main *bmain, const ID *id, ID **new_id_p, int flag)
static Curve * curve_from_font_object(Object *object, Depsgraph *depsgraph)
bool BKE_vfont_to_curve_nubase(Object *ob, eEditFontMode mode, ListBaseT< Nurb > *r_nubase)
void BKE_curve_dimension_update(Curve *cu)