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-29 19:28:11 +0300
committerBen Batt <benbatt@gmail.com>2007-01-29 19:28:11 +0300
commit1f35fd7929fafe80e1768d99a80ec903024ec015 (patch)
treec2f8c9a888e81d72890e830419aef99d699b1b5e /source/blender/makesdna
parent2a47217cba4123da38d47278a5f52c38080e926e (diff)
= Addendum to UVProject's multiple UV handling - "Override Image" button =
* Added an "Override Image" button to the UVProject modifier; this overrides faces' currently assigned image with the one given in the modifier panel. This provides some of the functionality previously provided by the "Add UVs" button - you still need to add a UV layer manually, but you only need to change the image in one place. * Note that the "Override Image" option uses the bit position previously used by the "Add UVs" option, so old files which had "Add UVs" enabled will now have "Override Image" enabled.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_modifier_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h
index 704c54afcd5..dffd99c8aee 100644
--- a/source/blender/makesdna/DNA_modifier_types.h
+++ b/source/blender/makesdna/DNA_modifier_types.h
@@ -214,6 +214,9 @@ typedef struct UVProjectModifierData {
#define MOD_UVPROJECT_MAXPROJECTORS 10
+/* UVProjectModifierData->flags */
+#define MOD_UVPROJECT_OVERRIDEIMAGE 1<<0
+
typedef struct DecimateModifierData {
ModifierData modifier;