Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
luyikei
VLMC
Commits
494f1396
Commit
494f1396
authored
Mar 13, 2010
by
Hugo Beauzee-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Timeline: Don't save begin and end are they are useless.
parent
9461620f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
src/Workflow/MainWorkflow.cpp
src/Workflow/MainWorkflow.cpp
+1
-6
src/Workflow/TrackWorkflow.cpp
src/Workflow/TrackWorkflow.cpp
+0
-2
No files found.
src/Workflow/MainWorkflow.cpp
View file @
494f1396
...
...
@@ -316,13 +316,9 @@ MainWorkflow::loadProject( const QDomElement &root )
{
//Iterate over clip fields:
QString
uuid
;
QString
begin
;
QString
end
;
QString
startFrame
;
uuid
=
clip
.
attribute
(
"uuid"
);
begin
=
clip
.
attribute
(
"begin"
);
end
=
clip
.
attribute
(
"end"
);
startFrame
=
clip
.
attribute
(
"startFrame"
);
if
(
uuid
.
isEmpty
()
==
true
||
startFrame
.
isEmpty
()
==
true
)
...
...
@@ -334,8 +330,7 @@ MainWorkflow::loadProject( const QDomElement &root )
Clip
*
c
=
Library
::
getInstance
()
->
clip
(
uuid
);
if
(
c
!=
NULL
)
{
addClip
(
new
Clip
(
c
,
begin
.
toLongLong
(),
end
.
toLongLong
()
),
trackId
,
startFrame
.
toLongLong
(),
type
);
addClip
(
new
Clip
(
c
),
trackId
,
startFrame
.
toLongLong
(),
type
);
}
clip
=
clip
.
nextSibling
().
toElement
();
}
...
...
src/Workflow/TrackWorkflow.cpp
View file @
494f1396
...
...
@@ -400,8 +400,6 @@ void TrackWorkflow::save( QXmlStreamWriter& project ) const
project
.
writeStartElement
(
"clip"
);
project
.
writeAttribute
(
"uuid"
,
it
.
value
()
->
getClip
()
->
getParent
()
->
fullId
()
);
project
.
writeAttribute
(
"startFrame"
,
QString
::
number
(
it
.
key
()
)
);
project
.
writeAttribute
(
"begin"
,
QString
::
number
(
it
.
value
()
->
getClip
()
->
begin
()
)
);
project
.
writeAttribute
(
"end"
,
QString
::
number
(
it
.
value
()
->
getClip
()
->
end
()
)
);
project
.
writeEndElement
();
}
}
...
...
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