diff options
Diffstat (limited to 'intern/cycles/scene/mesh.h')
-rw-r--r-- | intern/cycles/scene/mesh.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/intern/cycles/scene/mesh.h b/intern/cycles/scene/mesh.h index 254672d0620..07acd5328d2 100644 --- a/intern/cycles/scene/mesh.h +++ b/intern/cycles/scene/mesh.h @@ -160,6 +160,9 @@ class Mesh : public Geometry { NODE_SOCKET_API_ARRAY(array<int>, subd_creases_edge) NODE_SOCKET_API_ARRAY(array<float>, subd_creases_weight) + NODE_SOCKET_API_ARRAY(array<int>, subd_vert_creases) + NODE_SOCKET_API_ARRAY(array<float>, subd_vert_creases_weight) + /* Subdivisions parameters */ NODE_SOCKET_API(float, subd_dicing_rate) NODE_SOCKET_API(int, subd_max_level) @@ -210,7 +213,8 @@ class Mesh : public Geometry { void add_vertex_slow(float3 P); void add_triangle(int v0, int v1, int v2, int shader, bool smooth); void add_subd_face(int *corners, int num_corners, int shader_, bool smooth_); - void add_crease(int v0, int v1, float weight); + void add_edge_crease(int v0, int v1, float weight); + void add_vertex_crease(int v, float weight); void copy_center_to_motion_step(const int motion_step); |