diff options
-rw-r--r-- | source/blender/blenkernel/intern/studiolight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/studiolight.c b/source/blender/blenkernel/intern/studiolight.c index 10d9dcfbfec..3a98d5ea90a 100644 --- a/source/blender/blenkernel/intern/studiolight.c +++ b/source/blender/blenkernel/intern/studiolight.c @@ -1376,7 +1376,7 @@ StudioLight *BKE_studiolight_studio_edit_get(void) sl.flag = STUDIOLIGHT_TYPE_STUDIO; memcpy(sl.light, U.light, sizeof(*sl.light) * 3); - memcpy(sl.light_ambient, U.light_ambient, sizeof(sl.light_ambient) * 3); + memcpy(sl.light_ambient, U.light_ambient, sizeof(*sl.light_ambient) * 3); return &sl; } |