Fix Cycles debug build assert on some platforms, tighten checks to avoid this in...
[blender.git] / intern / cycles / render / camera.cpp
index 2310798be2ec292527fbf160eb52ccdd69039f4a..a6df656d22012c435286173e93b4d9c5bebb3195 100644 (file)
@@ -68,7 +68,7 @@ NODE_DEFINE(Camera)
 
        SOCKET_FLOAT(aperturesize, "Aperture Size", 0.0f);
        SOCKET_FLOAT(focaldistance, "Focal Distance", 10.0f);
-       SOCKET_INT(blades, "Blades", 0);
+       SOCKET_UINT(blades, "Blades", 0);
        SOCKET_FLOAT(bladesrotation, "Blades Rotation", 0.0f);
 
        SOCKET_TRANSFORM(matrix, "Matrix", transform_identity());