separated setting time and processing node functions
This commit is contained in:
@@ -57,11 +57,9 @@ NodeOutput *SolidGenerator::texture_output()
|
||||
return texture_output_;
|
||||
}
|
||||
|
||||
void SolidGenerator::Process(const rational &time)
|
||||
void SolidGenerator::Process()
|
||||
{
|
||||
// FIXME: Test code
|
||||
Q_UNUSED(time)
|
||||
|
||||
if (texture_ == nullptr) {
|
||||
QImage img(1920, 1080, QImage::Format_RGBA8888_Premultiplied);
|
||||
img.fill(Qt::red);
|
||||
|
||||
@@ -42,7 +42,7 @@ public:
|
||||
NodeOutput* texture_output();
|
||||
|
||||
protected:
|
||||
virtual void Process(const rational &time) override;
|
||||
virtual void Process() override;
|
||||
|
||||
private:
|
||||
NodeInput* color_input_;
|
||||
|
||||
Reference in New Issue
Block a user