[vlmc-devel] commit: GraphicsEffectItem: Create an effect instance, ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Tue Sep 7 21:41:56 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Mon Sep  6 22:30:00 2010 +0200| [8237ca22c2d60a6a75ba45dacf68ce7f232dde1c] | committer: Hugo Beauzée-Luyssen 

GraphicsEffectItem: Create an effect instance,

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=8237ca22c2d60a6a75ba45dacf68ce7f232dde1c
---

 src/Gui/timeline/GraphicsEffectItem.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/Gui/timeline/GraphicsEffectItem.cpp b/src/Gui/timeline/GraphicsEffectItem.cpp
index 97e176b..2d97b46 100644
--- a/src/Gui/timeline/GraphicsEffectItem.cpp
+++ b/src/Gui/timeline/GraphicsEffectItem.cpp
@@ -32,6 +32,7 @@ GraphicsEffectItem::GraphicsEffectItem( Effect *effect ) :
         m_effectHelper( NULL )
 {
     setOpacity( 0.8 );
+    m_effectHelper = new EffectsEngine::EffectHelper( effect->createInstance() );
 }
 
 const QUuid&



More information about the Vlmc-devel mailing list