openshot.code team mailing list archive
-
openshot.code team
-
Mailing list archive
-
Message #00299
[Branch ~openshot.code/openshot/main] Rev 618: Fixed a bug where effects were not being applied correctly on the clip properties screen / previe...
------------------------------------------------------------
revno: 618
fixes bug: https://launchpad.net/bugs/917039
committer: Jonathan Thomas <Jonathan.Oomph@xxxxxxxxx>
branch nick: openshot
timestamp: Sun 2012-01-15 23:58:35 -0600
message:
Fixed a bug where effects were not being applied correctly on the clip properties screen / preview window. Clips positioned in the middle of the timeline were affected, and not clips at position 0 seconds.
modified:
openshot/classes/clip.py
openshot/windows/ClipProperties.py
--
lp:openshot
https://code.launchpad.net/~openshot.code/openshot/main
Your team OpenShot Code is subscribed to branch lp:openshot.
To unsubscribe from this branch go to https://code.launchpad.net/~openshot.code/openshot/main/+edit-subscription
=== modified file 'openshot/classes/clip.py'
--- openshot/classes/clip.py 2012-01-09 13:38:31 +0000
+++ openshot/classes/clip.py 2012-01-16 05:58:35 +0000
@@ -393,8 +393,8 @@
blank_node.setAttribute("length", str(blank))
xmlParentNode.appendChild(blank_node)
- elif preview_mode in ["trimming", "clip-properties-preview"]:
- # preview mode is True, always start at frame zero, and include the
+ elif preview_mode == "trimming":
+ # preview mode is 'Trimming', always start at frame zero, and include the
# entire clip in the preview XML (ignore the IN and OUT)
current_frame = 0
in_frame_number = 0
=== modified file 'openshot/windows/ClipProperties.py'
--- openshot/windows/ClipProperties.py 2011-09-04 05:50:51 +0000
+++ openshot/windows/ClipProperties.py 2012-01-16 05:58:35 +0000
@@ -968,6 +968,9 @@
# Apply settings to preview clip object
self.apply_settings(self.copy_of_clip)
+ # Set clip to position 0 seconds
+ self.copy_of_clip.position_on_track = 0.0
+
# Generate the Preview XML
self.copy_of_clip.GeneratePreviewXML(os.path.join(self.project.USER_DIR, "preview.mlt"), "clip-properties-preview")