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:
authorJacques Lucke <jacques@blender.org>2020-03-08 14:39:19 +0300
committerJacques Lucke <jacques@blender.org>2020-03-08 14:39:19 +0300
commite003c31ca09c3a7e02641597ee92316eb7d04540 (patch)
tree9a75878e6fb400199e36063b755ec9b2772783ea
parent429e85c33a16adf7a80b258076d0cf148f84c656 (diff)
-rw-r--r--source/blender/modifiers/intern/MOD_hook.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_hook.c b/source/blender/modifiers/intern/MOD_hook.c
index 823feb4ce06..e64a142bbd9 100644
--- a/source/blender/modifiers/intern/MOD_hook.c
+++ b/source/blender/modifiers/intern/MOD_hook.c
@@ -24,7 +24,6 @@
#include "BLI_utildefines.h"
#include "BLI_math.h"
-#include "BLI_endian_switch.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
@@ -129,17 +128,18 @@ static void updateDepsgraph(ModifierData *md, const ModifierUpdateDepsgraphConte
static void bloWrite(BloWriter *writer, const ModifierData *md)
{
HookModifierData *hmd = (HookModifierData *)md;
+
+ BLO_write_int32_array(writer, hmd->totindex, hmd->indexar);
if (hmd->curfalloff) {
BKE_curvemapping_blo_write(writer, hmd->curfalloff);
}
- BLO_write_int32_array(writer, hmd->totindex, hmd->indexar);
}
static void bloRead(BloReader *reader, ModifierData *md)
{
HookModifierData *hmd = (HookModifierData *)md;
- BLO_read_int32_array(reader, hmd->totindex, hmd->indexar);
+ BLO_read_int32_array(reader, hmd->totindex, hmd->indexar);
BLO_read_data_address(reader, hmd->curfalloff);
if (hmd->curfalloff) {
BKE_curvemapping_blo_read(reader, hmd->curfalloff);