diff options
author | Timo Lotterbach <timo.lotterbach@bmw-carit.de> | 2012-01-09 16:17:56 +0100 |
---|---|---|
committer | Timo Lotterbach <timo.lotterbach@bmw-carit.de> | 2012-01-10 14:28:12 +0100 |
commit | 1060713cc9b43fa28429d71a208cb806fa769f41 (patch) | |
tree | c2306b79309385f0d450cf4a47dd670953cd1828 /LayerManagerCommands | |
parent | 02c4d61f14d8d684757f5d13bf2105ddb11ac8ee (diff) | |
download | layer_management-1060713cc9b43fa28429d71a208cb806fa769f41.tar.gz |
LayerManagerCommands : Fixing execution statement
During a Layer/Surface/ScreenDumpCommand, the execution state has
setted to ExecutionSuccessRedraw, to force the renderer redraw the
entire scene.
Diffstat (limited to 'LayerManagerCommands')
-rw-r--r-- | LayerManagerCommands/src/LayerDumpCommand.cpp | 2 | ||||
-rw-r--r-- | LayerManagerCommands/src/ScreenDumpCommand.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/LayerManagerCommands/src/LayerDumpCommand.cpp b/LayerManagerCommands/src/LayerDumpCommand.cpp index c95a48a..4062e09 100644 --- a/LayerManagerCommands/src/LayerDumpCommand.cpp +++ b/LayerManagerCommands/src/LayerDumpCommand.cpp @@ -61,7 +61,7 @@ ExecutionResult LayerDumpCommand::execute(ICommandExecutor* executor) renderer->doScreenShotOfLayer(m_filename, m_id); } } - result = ExecutionSuccess; + result = ExecutionSuccessRedraw; } return result; diff --git a/LayerManagerCommands/src/ScreenDumpCommand.cpp b/LayerManagerCommands/src/ScreenDumpCommand.cpp index c7bab39..d58eb40 100644 --- a/LayerManagerCommands/src/ScreenDumpCommand.cpp +++ b/LayerManagerCommands/src/ScreenDumpCommand.cpp @@ -53,7 +53,7 @@ ExecutionResult ScreenDumpCommand::execute(ICommandExecutor* executor) renderer->doScreenShot(m_filename); } } - result = ExecutionSuccess; + result = ExecutionSuccessRedraw; } return result; |