Fix Cycles debug build assert on some platforms, tighten checks to avoid this in...
[blender.git] / intern / cycles / render / mesh.cpp
index e25155630bd6e878b70d19323bf4bd93dd28162f..764a925983e64e361976e9db00a3201da398537b 100644 (file)
@@ -85,7 +85,7 @@ NODE_DEFINE(Mesh)
        displacement_method_enum.insert("both", DISPLACE_BOTH);
        SOCKET_ENUM(displacement_method, "Displacement Method", displacement_method_enum, DISPLACE_BUMP);
 
        displacement_method_enum.insert("both", DISPLACE_BOTH);
        SOCKET_ENUM(displacement_method, "Displacement Method", displacement_method_enum, DISPLACE_BUMP);
 
-       SOCKET_INT(motion_steps, "Motion Steps", 3);
+       SOCKET_UINT(motion_steps, "Motion Steps", 3);
        SOCKET_BOOLEAN(use_motion_blur, "Use Motion Blur", false);
 
        SOCKET_INT_ARRAY(triangles, "Triangles", array<int>());
        SOCKET_BOOLEAN(use_motion_blur, "Use Motion Blur", false);
 
        SOCKET_INT_ARRAY(triangles, "Triangles", array<int>());