Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Genrich <daniel.genrich@gmx.net>2012-11-07 22:11:13 +0400
committerDaniel Genrich <daniel.genrich@gmx.net>2012-11-07 22:11:13 +0400
commitb51908b913f318986a91c766980ed01010c5249a (patch)
treea7784dfbd5d5887c6ee0fa0b86f9abe31c38b24a /source/blender/editors/physics/physics_fluid.c
parent3e004d304395ba3c6b5969cfa2b1a0b62fb03eb8 (diff)
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.
Diffstat (limited to 'source/blender/editors/physics/physics_fluid.c')
-rw-r--r--source/blender/editors/physics/physics_fluid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/physics/physics_fluid.c b/source/blender/editors/physics/physics_fluid.c
index 218af8f0f33..7cd153d9564 100644
--- a/source/blender/editors/physics/physics_fluid.c
+++ b/source/blender/editors/physics/physics_fluid.c
@@ -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);