Skip to content

Commit

Permalink
renderer: disable mid-render cache when rendering audio
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmattkc committed Apr 13, 2021
1 parent 69769ae commit 63c4114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/render/renderprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ QVariant RenderProcessor::ProcessFrameGeneration(const Node *node, const Generat

bool RenderProcessor::CanCacheFrames()
{
return true;
return ticket_->property("type").value<RenderManager::TicketType>() == RenderManager::kTypeVideo;
}

QVariant RenderProcessor::GetCachedTexture(const QByteArray& hash)
Expand Down

0 comments on commit 63c4114

Please sign in to comment.