Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/mesh.cpp
| Context not available. | |||||
| return subd_params; | return subd_params; | ||||
| } | } | ||||
| void Mesh::set_subd_params(SubdParams* params) { | |||||
| subd_params = params; | |||||
| } | |||||
| bool Mesh::need_tesselation() | bool Mesh::need_tesselation() | ||||
| { | { | ||||
| return get_subd_params() && (verts_is_modified() || subd_dicing_rate_is_modified() || | return get_subd_params() && (verts_is_modified() || subd_dicing_rate_is_modified() || | ||||
| Context not available. | |||||