Fix cycles issue with wrong texture coordinates on a second render layer with

a mask layer enabled.
This commit is contained in:
Brecht Van Lommel
2012-07-31 15:05:16 +00:00
parent 6d8fb7c0e7
commit 314e26c02c
2 changed files with 14 additions and 6 deletions

View File

@@ -111,8 +111,9 @@ void Object::apply_transform()
mesh->compute_bounds();
compute_bounds(false);
}
tfm = transform_identity();
/* tfm is not reset to identity, all code that uses it needs to check the
transform_applied boolean */
}
void Object::tag_update(Scene *scene)