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:
authorBen Batt <benbatt@gmail.com>2007-01-28 17:48:38 +0300
committerBen Batt <benbatt@gmail.com>2007-01-28 17:48:38 +0300
commitd34cd388b8fe1b3b36232f8fd476eebe587707c7 (patch)
treea937181c4b20f3a910f5b726108e41bc7f82a785 /source/blender/makesdna
parent378a28fee41ce7a5a8e4dd881f889f5523046bd5 (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.h1
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 */