From 996a71f69787696d6b6753b20b74a992f5f6a7c5 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 30 Oct 2007 19:30:04 +0000 Subject: r16894@shi: ted | 2007-10-30 09:26:42 -0700 OH MY GOD IT WORKS!!! (bzr r3980) --- src/extension/execution-env.cpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'src/extension/execution-env.cpp') diff --git a/src/extension/execution-env.cpp b/src/extension/execution-env.cpp index 0dbb32b11..8e33fe64a 100644 --- a/src/extension/execution-env.cpp +++ b/src/extension/execution-env.cpp @@ -102,8 +102,8 @@ ExecutionEnv::~ExecutionEnv (void) { void ExecutionEnv::genDocCache (void) { if (_docCache == NULL) { - printf("Gen Doc Cache\n"); - Implementation::ImplementationDocumentCache * _docCache = _effect->get_imp()->newDocCache(_effect, _doc); + // printf("Gen Doc Cache\n"); + _docCache = _effect->get_imp()->newDocCache(_effect, _doc); } return; } @@ -111,7 +111,7 @@ ExecutionEnv::genDocCache (void) { void ExecutionEnv::killDocCache (void) { if (_docCache != NULL) { - printf("Killed Doc Cache\n"); + // printf("Killed Doc Cache\n"); delete _docCache; _docCache = NULL; } @@ -287,6 +287,13 @@ ExecutionEnv::run (void) { return; } +/** \brief Set the state of live preview + \param state The current state + + This will cancel the document preview and and configure + whether we should be waiting on the human. It will also + clear the document cache. +*/ void ExecutionEnv::livePreview (bool state) { _mainloop->quit(); -- cgit v1.2.3