Cycles Hair: Strand Minimum Pixel Size
[blender.git] / intern / cycles / render / camera.cpp
index 3ca19496b7229219435a1ea3547fecc5defcd6dc..c88b0f3dfbc4a36c61c3ae62c7ff616b2b0be625 100644 (file)
@@ -236,6 +236,7 @@ void Camera::device_update(Device *device, DeviceScene *dscene, Scene *scene)
        /* render size */
        kcam->width = width;
        kcam->height = height;
+       kcam->resolution = resolution;
 
        /* store differentials */
        kcam->dx = float3_to_float4(dx);