Masks: Remove unused function
It was used by old dependency graph. New one does things differently.
This commit is contained in:
@@ -145,7 +145,6 @@ void BKE_mask_update_display(struct Mask *mask, float ctime);
|
||||
void BKE_mask_evaluate_all_masks(struct Main *bmain, float ctime, const bool do_newframe);
|
||||
void BKE_mask_evaluate(struct Mask *mask, const float ctime, const bool do_newframe);
|
||||
void BKE_mask_layer_evaluate(struct MaskLayer *masklay, const float ctime, const bool do_newframe);
|
||||
void BKE_mask_update_scene(struct Main *bmain, struct Scene *scene);
|
||||
void BKE_mask_parent_init(struct MaskParent *parent);
|
||||
void BKE_mask_calc_handle_adjacent_interp(struct MaskSpline *spline, struct MaskSplinePoint *point, const float u);
|
||||
void BKE_mask_calc_tangent_polyline(struct MaskSpline *spline, struct MaskSplinePoint *point, float t[2]);
|
||||
|
||||
@@ -1459,18 +1459,6 @@ void BKE_mask_evaluate_all_masks(Main *bmain, float ctime, const bool do_newfram
|
||||
}
|
||||
}
|
||||
|
||||
void BKE_mask_update_scene(Main *bmain, Scene *scene)
|
||||
{
|
||||
Mask *mask;
|
||||
|
||||
for (mask = bmain->mask.first; mask; mask = mask->id.next) {
|
||||
if (mask->id.tag & LIB_TAG_ID_RECALC_ALL) {
|
||||
bool do_new_frame = (mask->id.tag & LIB_TAG_ID_RECALC_DATA) != 0;
|
||||
BKE_mask_evaluate_all_masks(bmain, CFRA, do_new_frame);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void BKE_mask_parent_init(MaskParent *parent)
|
||||
{
|
||||
parent->id_type = ID_MC;
|
||||
|
||||
Reference in New Issue
Block a user