Cleanup: Clarified comment

No functional changes.
This commit is contained in:
Sybren A. Stüvel 2020-03-05 10:46:52 +01:00
parent e5f98c79b0
commit 6665ce8951
1 changed files with 4 additions and 4 deletions

View File

@ -368,8 +368,8 @@ void ANIM_animdata_update(bAnimContext *ac, ListBase *anim_data)
if (ale->update & ANIM_UPDATE_ORDER) {
ale->update &= ~ANIM_UPDATE_ORDER;
if (gpl) {
/* While correct & we could enable it: 'posttrans_gpd_clean'
* currently handles as well as removing doubles. */
/* While correct & we could enable it: 'posttrans_gpd_clean' currently
* both sorts and removes doubles, so this is not necessary here. */
// gpencil_sort_frames(gpl);
}
}
@ -389,8 +389,8 @@ void ANIM_animdata_update(bAnimContext *ac, ListBase *anim_data)
if (ale->update & ANIM_UPDATE_ORDER) {
ale->update &= ~ANIM_UPDATE_ORDER;
if (masklay) {
/* While correct & we could enable it: 'posttrans_mask_clean'
* currently handles as well as removing doubles. */
/* While correct & we could enable it: 'posttrans_mask_clean' currently
* both sorts and removes doubles, so this is not necessary here. */
// BKE_mask_layer_shape_sort(masklay);
}
}