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:
authorCampbell Barton <ideasman42@gmail.com>2007-05-02 04:01:23 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-05-02 04:01:23 +0400
commitc24aa10561c3e301989df0d7f227f478f846143a (patch)
treec0a0f86cc48f4a6f9ecedeaf479ca353abe55fde /source/blender/makesdna/DNA_customdata_types.h
parent0b0f0b0ffb0075ce889b7515ebfd822bf99426cb (diff)
Made it so blender has an active render layer for Uv and Vertex color mesh layers.
This means changing the active UV/VCol layers wont change what renders. needed to adjust the minor version so old files will copy the active layer to the render-uv/vcol layer. boxpack2d.py - redoen in C now, dont need python version.
Diffstat (limited to 'source/blender/makesdna/DNA_customdata_types.h')
-rw-r--r--source/blender/makesdna/DNA_customdata_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_customdata_types.h b/source/blender/makesdna/DNA_customdata_types.h
index 921554552ef..b9f6ab0e60b 100644
--- a/source/blender/makesdna/DNA_customdata_types.h
+++ b/source/blender/makesdna/DNA_customdata_types.h
@@ -38,6 +38,8 @@ typedef struct CustomDataLayer {
int offset; /* in editmode, offset of layer in block */
int flag; /* general purpose flag */
int active; /* number of the active layer of this type */
+ int active_rnd; /* number of the layer to render*/
+ char pad[4];
char name[32]; /* layer name */
void *data; /* layer data */
} CustomDataLayer;