diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-07-20 14:13:57 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-07-20 14:14:00 +0300 |
commit | 33ad95b67741148eb7365395fa26dd182c07c870 (patch) | |
tree | 140b06800cbd16d6d6dd6d877ecb32df95afa194 /source/blender | |
parent | 579b1800534fa08950278169c45db4b3be09b42c (diff) |
Animation: Fix MSVC warning about C incompatibility of `AnimationEvalContext`
Thanks @JacquesLucke for pointing this out.
No functional changes.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/BKE_animsys.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_animsys.h b/source/blender/blenkernel/BKE_animsys.h index 2b7162418f8..ddfe6b61cfb 100644 --- a/source/blender/blenkernel/BKE_animsys.h +++ b/source/blender/blenkernel/BKE_animsys.h @@ -52,12 +52,12 @@ struct bContext; typedef struct AnimationEvalContext { /* For drivers, so that they have access to the dependency graph and the current view layer. See * T77086. */ - struct Depsgraph *const depsgraph; + struct Depsgraph *depsgraph; /* FCurves and Drivers can be evaluated at a different time than the current scene time, for * example when evaluating NLA strips. This means that, even though the current time is stored in * the dependency graph, we need an explicit evaluation time. */ - const float eval_time; + float eval_time; } AnimationEvalContext; AnimationEvalContext BKE_animsys_eval_context_construct(struct Depsgraph *depsgraph, |