fixed viewer flicker when rapidly changing parameters
This commit is contained in:
@@ -111,3 +111,13 @@ QVariant OpacityNode::Value(NodeOutput *output, const rational &time)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
NodeInput *OpacityNode::texture_input()
|
||||
{
|
||||
return texture_input_;
|
||||
}
|
||||
|
||||
NodeOutput *OpacityNode::texture_output()
|
||||
{
|
||||
return texture_output_;
|
||||
}
|
||||
|
||||
@@ -38,6 +38,10 @@ public:
|
||||
|
||||
virtual QVariant Value(NodeOutput *output, const rational &time) override;
|
||||
|
||||
NodeInput* texture_input();
|
||||
|
||||
NodeOutput* texture_output();
|
||||
|
||||
private:
|
||||
NodeInput* opacity_input_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user