Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
04327470
Commit
04327470
authored
Feb 25, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix clip target tracks and properties not properly set for first clip when creating a new project
parent
fe4b81b5
Pipeline
#142080
passed with stage
in 5 minutes and 38 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/bin/bin.cpp
View file @
04327470
...
...
@@ -1857,6 +1857,9 @@ void Bin::cleanDocument()
// Cleanup previous project
m_itemModel
->
clean
();
if
(
m_propertiesPanel
)
{
m_propertiesPanel
->
setProperty
(
"clipId"
,
QString
());
}
delete
m_itemView
;
m_itemView
=
nullptr
;
isLoading
=
false
;
...
...
src/bin/binplaylist.cpp
View file @
04327470
...
...
@@ -164,7 +164,6 @@ QMap<QString, QString> BinPlaylist::getProxies(const QString &root)
proxies
.
insert
(
proxy
,
sourceUrl
);
}
}
qDebug
()
<<
"AAAAAAAAAAAAAAAAAAAAAAA
\n
FOUND PROXIES IN PROJECT:"
<<
proxies
<<
"
\n\n
AAAAAAAAAAAAAAAAAAAAAAAAAA"
;
return
proxies
;
}
...
...
src/doc/kdenlivedoc.cpp
View file @
04327470
...
...
@@ -1877,7 +1877,6 @@ void KdenliveDoc::useOriginals(QDomDocument &doc)
}
}
}
qDebug
()
<<
"BBBBBBBBBBBBB
\n\n
DOCUMENT FOR RENDER:
\n
"
<<
doc
.
toString
()
<<
"
\n\n
BBBBBBBBBBBBBBBBBBBBB"
;
}
void
KdenliveDoc
::
cleanupTimelinePreview
(
const
QDateTime
&
documentDate
)
...
...
src/timeline2/view/timelinecontroller.cpp
View file @
04327470
...
...
@@ -99,6 +99,9 @@ void TimelineController::setModel(std::shared_ptr<TimelineItemModel> model)
{
delete
m_timelinePreview
;
m_zone
=
QPoint
(
-
1
,
-
1
);
m_hasAudioTarget
=
0
;
m_lastVideoTarget
=
-
1
;
m_lastAudioTarget
.
clear
();
m_timelinePreview
=
nullptr
;
m_model
=
std
::
move
(
model
);
m_activeSnaps
.
clear
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment