-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incomplete workaround for issue 1068
- Loading branch information
Showing
2 changed files
with
7 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ef1f409
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot to mention the case where both
src1
andsrc2 are set to
FLUID_MOD_NONE`.In this case the function fluid_mod_get_value() must return 0.0f (not 1.0f !).
ef1f409
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yet another typo mistake.
In this case the function fluid_mod_get_value() must return 0.0f (not 1.0f x amount !).
ef1f409
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the specifications and to my understanding, if "no controller" is set in src1 or src2, this shouldn't cancel the modulator. So the result of 1 by 1 is still 1, not a special case in which 0 is returned.