diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-12-03 22:38:32 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-12-03 22:38:32 +0300 |
commit | 2d87c36efa87db033b9393e42df764d68bc1a812 (patch) | |
tree | 1efee60bf1bedcb64fd179a0e8400e92bf7ba37e /source/blender/src/header_view3d.c | |
parent | cbd84b26f48d4d913ee170002de530e6aa6cc40f (diff) |
Copy vcols wasnt working me->mcol[a] needs to be me->mcol[a*4]
Diffstat (limited to 'source/blender/src/header_view3d.c')
-rw-r--r-- | source/blender/src/header_view3d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/header_view3d.c b/source/blender/src/header_view3d.c index 957aaa0a60e..a8c9b9ba662 100644 --- a/source/blender/src/header_view3d.c +++ b/source/blender/src/header_view3d.c @@ -4220,7 +4220,7 @@ static void do_view3d_faceselmenu(void *arg, int event) } else if(event==2 && activemcol) - memcpy(&me->mcol[a], activemcol, sizeof(MCol)*4); + memcpy(&me->mcol[a*4], activemcol, sizeof(MCol)*4); } } |