Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-01-10 18:21:40 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-01-10 18:22:53 +0300
commit0f1775205ecfee9de21053eb1d187bfa641ba6aa (patch)
tree12e7f72714f65c15c2c511349e04e07002a9ca67 /source/blender/editors/include
parentba2b26af31ca7e1a8d547cf308be2c1afbe7a4f5 (diff)
Use proper ID to create FModifier RNA pointer
Allows to do simple DEG tag, without extra checks for ID type. Will solve possible missing updates when modifying f-curve modifier of a shared action.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_anim_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_anim_api.h b/source/blender/editors/include/ED_anim_api.h
index f2cf5a3ead9..bbc9f25b542 100644
--- a/source/blender/editors/include/ED_anim_api.h
+++ b/source/blender/editors/include/ED_anim_api.h
@@ -584,7 +584,7 @@ void ANIM_draw_framerange(struct Scene *scene, struct View2D *v2d);
/* ------------- UI Panel Drawing -------------- */
/* draw a given F-Modifier for some layout/UI-Block */
-void ANIM_uiTemplate_fmodifier_draw(struct uiLayout *layout, struct ID *id, struct ID *fcurve_owner_id,
+void ANIM_uiTemplate_fmodifier_draw(struct uiLayout *layout, struct ID *fcurve_owner_id,
ListBase *modifiers, struct FModifier *fcm);
/* ------------- Copy/Paste Buffer -------------- */