LayerManagerCommands : Fixing execution statement
authorTimo Lotterbach <timo.lotterbach@bmw-carit.de>
Mon, 9 Jan 2012 15:17:56 +0000 (16:17 +0100)
committerTimo Lotterbach <timo.lotterbach@bmw-carit.de>
Tue, 10 Jan 2012 13:28:12 +0000 (14:28 +0100)
During a Layer/Surface/ScreenDumpCommand, the execution state has
setted to ExecutionSuccessRedraw, to force the renderer redraw the
entire scene.

LayerManagerCommands/src/LayerDumpCommand.cpp
LayerManagerCommands/src/ScreenDumpCommand.cpp

index c95a48a..4062e09 100644 (file)
@@ -61,7 +61,7 @@ ExecutionResult LayerDumpCommand::execute(ICommandExecutor* executor)
                 renderer->doScreenShotOfLayer(m_filename, m_id);
             }
         }
-        result = ExecutionSuccess;
+        result = ExecutionSuccessRedraw;
     }
 
     return result;
index c7bab39..d58eb40 100644 (file)
@@ -53,7 +53,7 @@ ExecutionResult ScreenDumpCommand::execute(ICommandExecutor* executor)
                 renderer->doScreenShot(m_filename);
             }
         }
-        result = ExecutionSuccess;
+        result = ExecutionSuccessRedraw;
     }
 
     return result;