We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d82b22 commit 7760fbfCopy full SHA for 7760fbf
2 files changed
include/slg/editaction.h
@@ -39,6 +39,7 @@ typedef enum {
39
class EditActionList {
40
public:
41
EditActionList() { actions = 0; };
42
+ EditActionList(EditActionList& editActions) { actions = editActions.GetActions(); };
43
44
void Reset() { actions = 0; }
45
void AddAction(const EditAction a) { actions |= a; };
src/slg/rendersession.cpp
@@ -98,7 +98,7 @@ void RenderSession::BeginSceneEdit() {
98
99
void RenderSession::EndSceneEdit() {
100
// Make a copy of the edit actions
101
- const EditActionList& editActions = renderConfig.GetScene().GetEditActions();
+ const EditActionList editActions(renderConfig.GetScene().GetEditActions());
102
103
if ((renderEngine->GetType() != RTPATHOCL) &&
104
(renderEngine->GetType() != RTPATHCPU)) {
0 commit comments