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:
authorCampbell Barton <ideasman42@gmail.com>2019-05-20 11:06:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-20 16:11:57 +0300
commitd00c54c855d44a81f8793fb380e7b7e4c3979a30 (patch)
tree96a683256819cfb25eea45ea42ae395cb4eba40d /source/blender/makesrna/intern/rna_action.c
parent88d2d82031eafa36c4dc7836d0d8e535b5e6e1f3 (diff)
Cleanup: reorder report argument for pointer assignment
Most code uses ReportList argument last (or at least not first) when an optional report list can be passed in.
Diffstat (limited to 'source/blender/makesrna/intern/rna_action.c')
-rw-r--r--source/blender/makesrna/intern/rna_action.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_action.c b/source/blender/makesrna/intern/rna_action.c
index af6d01d9e86..4e98db21089 100644
--- a/source/blender/makesrna/intern/rna_action.c
+++ b/source/blender/makesrna/intern/rna_action.c
@@ -214,9 +214,9 @@ static PointerRNA rna_Action_active_pose_marker_get(PointerRNA *ptr)
ptr, &RNA_TimelineMarker, BLI_findlink(&act->markers, act->active_marker - 1));
}
-static void rna_Action_active_pose_marker_set(struct ReportList *UNUSED(reports),
- PointerRNA *ptr,
- PointerRNA value)
+static void rna_Action_active_pose_marker_set(PointerRNA *ptr,
+ PointerRNA value,
+ struct ReportList *UNUSED(reports))
{
bAction *act = (bAction *)ptr->data;
act->active_marker = BLI_findindex(&act->markers, value.data) + 1;