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:
authorBastien Montagne <bastien@blender.org>2022-05-12 18:44:43 +0300
committerBastien Montagne <bastien@blender.org>2022-05-12 18:45:16 +0300
commit2c784f44cf2c1b72b9e08fac6dd8f6861dfd0d83 (patch)
treeef820bebbdaee2cf41d93dee5fd3043d8d8f4c12 /source/blender/modifiers
parent32fd85e6f995e3478c94c5c9eededbd3c325e15a (diff)
Cleanup: use proper naming in Warp modifier read/write code.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_warp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/modifiers/intern/MOD_warp.c b/source/blender/modifiers/intern/MOD_warp.c
index e95d2983639..79972d1911d 100644
--- a/source/blender/modifiers/intern/MOD_warp.c
+++ b/source/blender/modifiers/intern/MOD_warp.c
@@ -491,20 +491,20 @@ static void panelRegister(ARegionType *region_type)
static void blendWrite(BlendWriter *writer, const ModifierData *md)
{
- const WarpModifierData *tmd = (const WarpModifierData *)md;
+ const WarpModifierData *wmd = (const WarpModifierData *)md;
- if (tmd->curfalloff) {
- BKE_curvemapping_blend_write(writer, tmd->curfalloff);
+ if (wmd->curfalloff) {
+ BKE_curvemapping_blend_write(writer, wmd->curfalloff);
}
}
static void blendRead(BlendDataReader *reader, ModifierData *md)
{
- WarpModifierData *tmd = (WarpModifierData *)md;
+ WarpModifierData *wmd = (WarpModifierData *)md;
- BLO_read_data_address(reader, &tmd->curfalloff);
- if (tmd->curfalloff) {
- BKE_curvemapping_blend_read(reader, tmd->curfalloff);
+ BLO_read_data_address(reader, &wmd->curfalloff);
+ if (wmd->curfalloff) {
+ BKE_curvemapping_blend_read(reader, wmd->curfalloff);
}
}