Commit 006c0771 authored by Till Theato's avatar Till Theato

Make on-monitor effect editing work with track effects

svn path=/trunk/kdenlive/; revision=4800
parent a1381ab8
......@@ -444,8 +444,7 @@ void EffectStackView::slotCheckAll(int state)
void EffectStackView::slotCheckMonitorPosition(int renderPos)
{
if (m_trackMode) return;
if (renderPos >= m_clipref->startPos().frames(KdenliveSettings::project_fps()) && renderPos <= m_clipref->endPos().frames(KdenliveSettings::project_fps())) {
if (m_trackMode || (renderPos >= m_clipref->startPos().frames(KdenliveSettings::project_fps()) && renderPos <= m_clipref->endPos().frames(KdenliveSettings::project_fps()))) {
if (!m_monitor->getEffectScene()->views().at(0)->isVisible())
m_monitor->slotEffectScene(true);
} else {
......
......@@ -190,7 +190,7 @@ void GeometryWidget::setupParam(const QDomElement elem, int minframe, int maxfra
m_geometry = new Mlt::Geometry(tmp, maxframe - minframe, m_monitor->render->renderWidth(), m_monitor->render->renderHeight());
delete[] tmp;
if (elem.attribute("fixed") == "1") {
if (elem.attribute("fixed") == "1" || maxframe < minframe) {
// Keyframes are disabled
m_ui.widgetTimeWrapper->setHidden(true);
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment