forked from bartvdbraak/blender
Fix for typo + memory leak
This commit is contained in:
parent
e93990dfc5
commit
844909b294
@ -92,7 +92,7 @@ void ANIM_list_elem_update(Scene *scene, bAnimListElem *ale)
|
||||
RNA_property_update_main(G.main, scene, &ptr, prop);
|
||||
}
|
||||
else {
|
||||
/* in other case we do standard depsgaph update, ideally
|
||||
/* in other case we do standard depsgraph update, ideally
|
||||
* we'd be calling property update functions here too ... */
|
||||
DAG_id_tag_update(id, OB_RECALC_OB | OB_RECALC_DATA | OB_RECALC_TIME); // XXX or do we want something more restrictive?
|
||||
}
|
||||
|
@ -2331,6 +2331,9 @@ static int nla_fmodifier_copy_exec(bContext *C, wmOperator *op)
|
||||
}
|
||||
}
|
||||
|
||||
/* free temp data */
|
||||
ANIM_animdata_freelist(&anim_data);
|
||||
|
||||
/* successful or not? */
|
||||
if (ok == 0) {
|
||||
BKE_report(op->reports, RPT_ERROR, "No F-Modifiers available to be copied");
|
||||
|
Loading…
Reference in New Issue
Block a user