Fix T86567: Cycles crashes when playing back animated volumes
The crash is caused by an out of bound access in the kernel due to missing data update when a Volume's voxel data changes. Although the previous bounding mesh is cleared, the Volume Node was not tagged as modified, and therefore never rebuilt. To fix this, tag the Geometries (not just Volumes, to be more robust) as modified in Geometry.clear(). Regression caused by rBbbe6d44928235cd4a5cfbeaf1a1de78ed861bb92.
This commit is contained in:
parent
9e206039d4
commit
96e60cc22c
@ -90,6 +90,7 @@ void Geometry::clear(bool preserve_shaders)
|
||||
transform_applied = false;
|
||||
transform_negative_scaled = false;
|
||||
transform_normal = transform_identity();
|
||||
tag_modified();
|
||||
}
|
||||
|
||||
bool Geometry::need_attribute(Scene *scene, AttributeStandard std)
|
||||
|
Loading…
x
Reference in New Issue
Block a user