summaryrefslogtreecommitdiffstats
path: root/src/extension/execution-env.cpp
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2007-10-30 19:30:04 +0000
committergouldtj <gouldtj@users.sourceforge.net>2007-10-30 19:30:04 +0000
commit996a71f69787696d6b6753b20b74a992f5f6a7c5 (patch)
treea9ecd9483d49493f18486f38d86fd09d1fe21673 /src/extension/execution-env.cpp
parentr16893@shi: ted | 2007-10-30 07:31:04 -0700 (diff)
downloadinkscape-996a71f69787696d6b6753b20b74a992f5f6a7c5.tar.gz
inkscape-996a71f69787696d6b6753b20b74a992f5f6a7c5.zip
r16894@shi: ted | 2007-10-30 09:26:42 -0700
OH MY GOD IT WORKS!!! (bzr r3980)
Diffstat (limited to 'src/extension/execution-env.cpp')
-rw-r--r--src/extension/execution-env.cpp13
1 files changed, 10 insertions, 3 deletions
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();