Skip to content

Commit

Permalink
Fix crash when doing commandline rendering of files containing Papaga…
Browse files Browse the repository at this point in the history
…yo lipsync
  • Loading branch information
morevnaproject committed Apr 22, 2016
1 parent bbee2d0 commit 187f648
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions synfig-core/src/synfig/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@

#include "mutex.h"

#include <giomm.h>

#ifdef HAVE_SIGNAL_H
#include <signal.h>
#endif
Expand Down Expand Up @@ -221,6 +223,9 @@ synfig::Main::Main(const synfig::String& basepath,ProgressCallback *cb):
#endif

//_config_search_path=new vector"string.h"();

// Init Gio to allow use Gio::File::create_for_uri() in ValueNode_AnimatedFile::load file() function
Gio::init();

// Init the subsystems
if(cb)cb->amount_complete(0, 100);
Expand Down

0 comments on commit 187f648

Please sign in to comment.