From 638938e5a8c30c405c3b4e96ab4f78095003958b Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Thu, 18 Apr 2019 23:17:04 +0300 Subject: Armature: remove remains of the object-level deformation data cache. Now that B-Bone shape data is kept in bPoseChannel_Runtime, the armature level cache only holds one quaternion value per bone. It can also be moved to runtime, and the structure removed. This has an additional effect that, as far as I can tell, now the Armature modifier can run as soon as all of the bones it actually needs are done, thus making T59848 a purely depsgraph level problem. --- source/blender/makesdna/DNA_object_types.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source/blender/makesdna/DNA_object_types.h') diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h index dc23a6a1ee2..781a2216029 100644 --- a/source/blender/makesdna/DNA_object_types.h +++ b/source/blender/makesdna/DNA_object_types.h @@ -118,11 +118,6 @@ typedef struct LodLevel { int obhysteresis; } LodLevel; -/* Forward declaration for cache bbone deformation information. - * - * TODO(sergey): Consider moving it to more appropriate place. */ -struct ObjectBBoneDeform; - struct CustomData_MeshMasks; /* Not saved in file! */ @@ -166,10 +161,6 @@ typedef struct Object_Runtime { /** Runtime grease pencil drawing data */ struct GpencilBatchCache *gpencil_cache; - - struct ObjectBBoneDeform *cached_bbone_deformation; - - void *_pad1; } Object_Runtime; typedef struct Object { -- cgit v1.2.3