m_monitor->slotEffectScene(false);
}
+void CornersWidget::addParameter(QDomElement e, int activeKeyframe)
+{
+ KeyframeEdit::addParameter(e, activeKeyframe);
+
+ if (!m_item->polygon().count())
+ slotUpdateItem();
+}
+
void CornersWidget::slotUpdateItem()
{
- QList<QPointF> points;
+ if (keyframe_list->columnCount() < 8)
+ return;
QTableWidgetItem *item = keyframe_list->currentItem();
- if (!item || keyframe_list->columnCount() < 8)
+ if (!item)
return;
+ QList<QPointF> points;
double val;
for (int col = 0; col < 8; col++) {
if (!keyframe_list->item(item->row(), col))
}
slotAdjustKeyframeInfo(false);
-
- if (changed)
- emit parameterChanged();
}
void CornersWidget::slotCheckMonitorPosition(int renderPos)