Fix clamping bug,

This commit is contained in:
Thomas Wilshaw
2021-04-09 11:57:49 +01:00
parent 4d8233e7ac
commit cb0cfebf40
3 changed files with 4 additions and 9 deletions
+1
View File
@@ -42,6 +42,7 @@ Block::Block() :
out_transition_(nullptr)
{
AddInput(kLengthInput, NodeValue::kRational, InputFlags(kInputFlagNotConnectable | kInputFlagNotKeyframable));
SetInputProperty(kLengthInput, "min", QVariant::fromValue(rational(0, 1)));
IgnoreInvalidationsFrom(kLengthInput);
IgnoreHashingFrom(kLengthInput);