Cycles: Fix wrong render result in certain configuration of render layer's surface/hair

There were some synchronization missing in cases when only one of those settings
was disabled.

Also added a render test for such configurations now.
This commit is contained in:
Sergey Sharybin
2015-04-09 21:21:48 +05:00
parent ae5f2c2025
commit cca4405437
4 changed files with 24 additions and 7 deletions

View File

@@ -135,7 +135,7 @@ void Mesh::clear()
transform_applied = false;
transform_negative_scaled = false;
transform_normal = transform_identity();
geometry_synced = false;
geometry_flags = GEOMETRY_NONE;
}
int Mesh::split_vertex(int vertex)