Commit: 33ad95b67741148eb7365395fa26dd182c07c870
Author: Sybren A. Stüvel
Date:   Mon Jul 20 13:13:57 2020 +0200
Branches: master
https://developer.blender.org/rB33ad95b67741148eb7365395fa26dd182c07c870

Animation: Fix MSVC warning about C incompatibility of `AnimationEvalContext`

Thanks @JacquesLucke for pointing this out.

No functional changes.

===================================================================

M       source/blender/blenkernel/BKE_animsys.h

===================================================================

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,

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to