don't include fcurve modifiers when getting an actions frame range.

could too easily give a range of 600,000 which would make exporters hang.
This commit is contained in:
Campbell Barton 2011-08-02 02:28:37 +00:00
parent c965d1d2cc
commit db494472ac

@ -191,8 +191,9 @@ static void rna_Action_active_pose_marker_index_range(PointerRNA *ptr, int *min,
static void rna_Action_frame_range_get(PointerRNA *ptr,float *values)
{
calc_action_range(ptr->id.data, values, values+1, 1);
{ /* don't include modifiers because they too easily can have very large
* ranges: MINAFRAMEF to MAXFRAMEF. */
calc_action_range(ptr->id.data, values, values+1, FALSE);
}