minor fixes and debug output
This commit is contained in:
@@ -38,8 +38,8 @@ Block::Block() :
|
||||
texture_output_->set_data_type(NodeParam::kTexture);
|
||||
AddParameter(texture_output_);
|
||||
|
||||
connect(this, SIGNAL(EdgeAdded(NodeEdgePtr)), this, SLOT(EdgeAddedSlot(NodeEdgePtr)));
|
||||
connect(this, SIGNAL(EdgeRemoved(NodeEdgePtr)), this, SLOT(EdgeRemovedSlot(NodeEdgePtr)));
|
||||
connect(this, SIGNAL(EdgeAdded(NodeEdgePtr)), this, SLOT(EdgeAddedSlot(NodeEdgePtr)), Qt::DirectConnection);
|
||||
connect(this, SIGNAL(EdgeRemoved(NodeEdgePtr)), this, SLOT(EdgeRemovedSlot(NodeEdgePtr)), Qt::DirectConnection);
|
||||
}
|
||||
|
||||
QString Block::Category()
|
||||
|
||||
+2
-1
@@ -23,7 +23,8 @@
|
||||
#include "node/node.h"
|
||||
|
||||
NodeOutput::NodeOutput(const QString &id) :
|
||||
NodeParam(id)
|
||||
NodeParam(id),
|
||||
data_type_(kNone)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -153,7 +153,10 @@ NodeOutput* TrackOutput::track_output()
|
||||
void TrackOutput::InvalidateCache(const rational &start_range, const rational &end_range, NodeInput *from)
|
||||
{
|
||||
// We intercept IC signals from Blocks since we may be performing several options and they may over-signal
|
||||
if (!block_invalidate_cache_stack_) {
|
||||
if (block_invalidate_cache_stack_ == 0) {
|
||||
qDebug() << "Received IC Signal:" << start_range.toDouble() << "to" << end_range.toDouble();
|
||||
qDebug() << "Limiting IC Signal To:" << qMax(start_range, rational(0)).toDouble() << "to" << qMin(end_range, in()).toDouble();
|
||||
|
||||
Node::InvalidateCache(qMax(start_range, rational(0)), qMin(end_range, in()), from);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user