suppress some benign warnings
This commit is contained in:
+2
-1
@@ -68,7 +68,8 @@ QString NodeValue::ValueToString(Type data_type, const QVariant &value, bool val
|
||||
} else if (data_type == kRational) {
|
||||
return value.value<rational>().toString();
|
||||
} else if (data_type == kTexture
|
||||
|| data_type == kSamples) {
|
||||
|| data_type == kSamples
|
||||
|| data_type == kNone) {
|
||||
// These data types need no XML representation
|
||||
return QString();
|
||||
} else if (data_type == kInt) {
|
||||
|
||||
@@ -220,7 +220,9 @@ void CurveWidget::UpdateBridgeTime(const int64_t ×tamp)
|
||||
void CurveWidget::ConnectNode(Node *node, bool connect)
|
||||
{
|
||||
foreach (const QString& input, node->inputs()) {
|
||||
ConnectInput(node, input, connect);
|
||||
if (node->IsInputKeyframable(input)) {
|
||||
ConnectInput(node, input, connect);
|
||||
}
|
||||
}
|
||||
|
||||
// Connect add/remove signals
|
||||
|
||||
@@ -140,6 +140,14 @@ void NodeTableView::SetTime(const rational &time)
|
||||
sub_item->setText(1, source_name);
|
||||
|
||||
switch (value.type()) {
|
||||
case NodeValue::kVideoParams:
|
||||
case NodeValue::kAudioParams:
|
||||
case NodeValue::kFootageJob:
|
||||
case NodeValue::kShaderJob:
|
||||
case NodeValue::kSampleJob:
|
||||
case NodeValue::kGenerateJob:
|
||||
// These types have no string representation
|
||||
break;
|
||||
case NodeValue::kTexture:
|
||||
{
|
||||
// NodeTableTraverser puts video params in here
|
||||
|
||||
Reference in New Issue
Block a user