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-04-14 21:53:03 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2019-04-14 21:55:30 +0300
commit3731729b96fa2145b7d462dec20277088a75a0c4 (patch)
tree8153b4c67aeacbfe9d5712a8ea55a9a9d77de810 /source/blender/blenkernel/BKE_armature.h
parentf5ea1fc4fbafbac6f648ba0d9d9ef16ca8323041 (diff)
Depsgraph: fix hard CTD on dependency cycles through POSE_INIT.
As reported in T63582, it can cause chan_array to be not ready. To reliably avoid crashing, the only easy way seems to be to create the index during COW -- maybe @sergey has a better idea.
Diffstat (limited to 'source/blender/blenkernel/BKE_armature.h')
-rw-r--r--source/blender/blenkernel/BKE_armature.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_armature.h b/source/blender/blenkernel/BKE_armature.h
index 7182561a038..d9a1064d740 100644
--- a/source/blender/blenkernel/BKE_armature.h
+++ b/source/blender/blenkernel/BKE_armature.h
@@ -245,6 +245,8 @@ void BKE_splineik_execute_tree(
struct Depsgraph *depsgraph, struct Scene *scene,
struct Object *ob, struct bPoseChannel *pchan_root, float ctime);
+void BKE_pose_pchan_index_rebuild(struct bPose *pose);
+
void BKE_pose_eval_init(
struct Depsgraph *depsgraph,
struct Scene *scene,