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:
authorAlexander Gavrilov <angavrilov@gmail.com>2019-05-16 09:47:57 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2019-05-16 09:48:46 +0300
commit65199828766afff21b1a1741fd5a7d651d92f17d (patch)
treeaa3a5f22e83b421044706162ce35d6fc4d92836b /source/blender/blenkernel/BKE_fcurve.h
parente097845a6fab925a364b029c7b709db2b46176e1 (diff)
Fix T64681: evaluate curves with generative modifiers and no keys.
Introduce a new function and use it everywhere, including automatic curve deletion checks to guarantee consistency.
Diffstat (limited to 'source/blender/blenkernel/BKE_fcurve.h')
-rw-r--r--source/blender/blenkernel/BKE_fcurve.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_fcurve.h b/source/blender/blenkernel/BKE_fcurve.h
index c1232addee3..4c1a115eb23 100644
--- a/source/blender/blenkernel/BKE_fcurve.h
+++ b/source/blender/blenkernel/BKE_fcurve.h
@@ -340,6 +340,7 @@ float evaluate_fcurve_driver(struct PathResolvedRNA *anim_rna,
struct FCurve *fcu,
struct ChannelDriver *driver_orig,
float evaltime);
+bool BKE_fcurve_is_empty(struct FCurve *fcu);
/* evaluate fcurve and store value */
float calculate_fcurve(struct PathResolvedRNA *anim_rna, struct FCurve *fcu, float evaltime);