From 5af4b4e30889b4002bade73336dc0329901d9623 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 6 Nov 2013 14:59:52 +0000 Subject: fix audio thumbnail issue --- rotord/src/nodes_drawing.h | 2 +- rotord/src/rendercontext.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'rotord/src') diff --git a/rotord/src/nodes_drawing.h b/rotord/src/nodes_drawing.h index f46c2b0..a3af7c9 100644 --- a/rotord/src/nodes_drawing.h +++ b/rotord/src/nodes_drawing.h @@ -227,7 +227,7 @@ namespace Rotor { create_attribute("filename","SVG file to draw","Filename",""); UID="88c30140-2d0b-11e3-8db2-679d596166c1"; rsvg=nullptr; - g_type_init(); //does this have to be done only once? + //g_type_init(); //does this have to be done only once? }; Svg(map &settings):Svg() { base_settings(settings); diff --git a/rotord/src/rendercontext.cpp b/rotord/src/rendercontext.cpp index 2016395..c3d8b93 100644 --- a/rotord/src/rendercontext.cpp +++ b/rotord/src/rendercontext.cpp @@ -24,7 +24,7 @@ void Render_context::runTask() { } } if (graph.load_audio(graph.audio_filename,processors)) { - graph.audio_loaded=false; + graph.audio_loaded=true; state=IDLE; } else { -- cgit v1.2.3