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:
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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user