Fix Cycles fluid motion blur not working after recent refactor

This also re-enables the fluid motion blur test.
This commit is contained in:
Brecht Van Lommel
2020-02-18 16:56:17 +01:00
parent 43c497051a
commit b8567b704b
2 changed files with 7 additions and 1 deletions

View File

@@ -965,6 +965,12 @@ void BlenderSync::sync_mesh_motion(BL::Depsgraph b_depsgraph,
Mesh *mesh, Mesh *mesh,
int motion_step) int motion_step)
{ {
/* Fluid motion blur already exported. */
BL::FluidDomainSettings b_fluid_domain = object_fluid_liquid_domain_find(b_ob);
if (b_fluid_domain) {
return;
}
/* Skip if no vertices were exported. */ /* Skip if no vertices were exported. */
size_t numverts = mesh->verts.size(); size_t numverts = mesh->verts.size();
if (numverts == 0) { if (numverts == 0) {

View File

@@ -31,7 +31,7 @@ COLORS = COLORS_DUMMY
# NOTE: Keep everything lowercase. # NOTE: Keep everything lowercase.
BLACKLIST = ( BLACKLIST = (
'fluid_motion_blur.blend', # 'file_to_blacklist.blend',
) )
def print_message(message, type=None, status=''): def print_message(message, type=None, status=''):