forked from bartvdbraak/blender
Bugfix [#32939] Fluid sim reversed on X and Y with animated Control object
Bug was introduced in r48531 by accident since fluid control object abuse a variable for another flag which got reset.
This commit is contained in:
parent
3e004d3043
commit
b51908b913
@ -574,7 +574,8 @@ static void export_fluid_objects(ListBase *fobjects, Scene *scene, int length)
|
||||
fsmesh.channelScale = NULL;
|
||||
|
||||
/* Override user settings, only noslip is supported here! */
|
||||
fsmesh.obstacleType = FLUIDSIM_OBSTACLE_NOSLIP;
|
||||
if (fsmesh.type != OB_FLUIDSIM_CONTROL)
|
||||
fsmesh.obstacleType = FLUIDSIM_OBSTACLE_NOSLIP;
|
||||
}
|
||||
|
||||
elbeemAddMesh(&fsmesh);
|
||||
|
Loading…
Reference in New Issue
Block a user