diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-10-04 18:44:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-10-04 18:44:02 +0300 |
commit | 296757804cc2e97a3d95b4e44a6cc5d508e1c345 (patch) | |
tree | 65366b956402fbc760ffa857a096aa0cf554951e | |
parent | 9609828000e324ae97f94357ff1c189f7afed93c (diff) |
Fix error copying smoke modifier uv layer
-rw-r--r-- | source/blender/blenkernel/intern/smoke.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/smoke.c b/source/blender/blenkernel/intern/smoke.c index adecea7080c..fcf4724bd1c 100644 --- a/source/blender/blenkernel/intern/smoke.c +++ b/source/blender/blenkernel/intern/smoke.c @@ -677,7 +677,7 @@ void smokeModifier_copy(struct SmokeModifierData *smd, struct SmokeModifierData tsmd->flow->texture_size = smd->flow->texture_size; tsmd->flow->texture_offset = smd->flow->texture_offset; - BLI_strncpy(tsmd->flow->uvlayer_name, tsmd->flow->uvlayer_name, sizeof(tsmd->flow->uvlayer_name)); + BLI_strncpy(tsmd->flow->uvlayer_name, smd->flow->uvlayer_name, sizeof(tsmd->flow->uvlayer_name)); tsmd->flow->vgroup_density = smd->flow->vgroup_density; tsmd->flow->type = smd->flow->type; |