[pitivi] Remove roundness of rectangles as Cogl doesn't support antialising.



commit 3769c000eb5e82235a3731a3ba3d2a626800744b
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date:   Thu Apr 18 05:14:53 2013 +0200

    Remove roundness of rectangles as Cogl doesn't support antialising.

 pitivi/timeline/elements.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/timeline/elements.py b/pitivi/timeline/elements.py
index 55da42c..8745703 100644
--- a/pitivi/timeline/elements.py
+++ b/pitivi/timeline/elements.py
@@ -409,7 +409,7 @@ class TimelineElement(Clutter.Actor, Zoomable):
         pass
 
     def _createBorder(self):
-        self.border = RoundedRectangle(0, 0, 5, 5)
+        self.border = RoundedRectangle(0, 0, 0, 0)
         self.border.bElement = self.bElement
         color = Cogl.Color()
 
@@ -510,7 +510,7 @@ class URISourceElement(TimelineElement):
         self.add_child(self.rightHandle)
 
     def _createBackground(self, track):
-        self.background = RoundedRectangle(0, 0, 5, 5)
+        self.background = RoundedRectangle(0, 0, 0, 0)
         self.background.bElement = self.bElement
 
         if track.type == GES.TrackType.AUDIO:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]