Fix wrong edge crease validity check in the Cycles Alembic procedural

This commit is contained in:
Kévin Dietrich
2022-03-08 13:38:21 +01:00
parent 3cb3167278
commit 64a5fd7a1d

View File

@@ -469,7 +469,7 @@ static void add_subd_edge_creases(CachedData &cached_data,
const SubDSchemaData &data,
chrono_t time)
{
if (!(data.crease_indices.valid() && data.crease_indices.valid() &&
if (!(data.crease_indices.valid() && data.crease_lengths.valid() &&
data.crease_sharpnesses.valid())) {
return;
}