diff options
author | Ben Batt <benbatt@gmail.com> | 2007-01-28 17:48:38 +0300 |
---|---|---|
committer | Ben Batt <benbatt@gmail.com> | 2007-01-28 17:48:38 +0300 |
commit | d34cd388b8fe1b3b36232f8fd476eebe587707c7 (patch) | |
tree | a937181c4b20f3a910f5b726108e41bc7f82a785 /source/blender/makesdna | |
parent | 378a28fee41ce7a5a8e4dd881f889f5523046bd5 (diff) |
Changed Displace modifier UV layer selection UI code to use a temporary
variable in the DisplaceModifierData structure, rather than a global variable.
This fixes a bug in layer selection when more than one Displace modifier is
applied to an object.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index d3155d437b4..cb4ac1e837f 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -179,6 +179,7 @@ typedef struct DisplaceModifierData { int texmapping; struct Object *map_object; char uvlayer_name[32]; + int uvlayer_tmp, pad; } DisplaceModifierData; /* DisplaceModifierData->direction */ |