summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-10-25 17:47:28 +0000
committerDavid Robillard <d@drobilla.net>2015-10-25 17:47:28 +0000
commit1a33b800ac6245f59c99d76438feee8a21f04043 (patch)
treeaf66083a1af29ee514612c6e64e55fedf3762a05 /src/server
parentffae1d83620f0f57977c95e5e04f456bf0324b8c (diff)
downloadingen-1a33b800ac6245f59c99d76438feee8a21f04043.tar.gz
ingen-1a33b800ac6245f59c99d76438feee8a21f04043.tar.bz2
ingen-1a33b800ac6245f59c99d76438feee8a21f04043.zip
Fix saving and loading of copy-pasted blocks
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5785 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r--src/server/events/CreateBlock.cpp12
-rw-r--r--src/server/events/CreateBlock.hpp14
2 files changed, 13 insertions, 13 deletions
diff --git a/src/server/events/CreateBlock.cpp b/src/server/events/CreateBlock.cpp
index 22c8731f..e213f765 100644
--- a/src/server/events/CreateBlock.cpp
+++ b/src/server/events/CreateBlock.cpp
@@ -33,12 +33,12 @@ namespace Ingen {
namespace Server {
namespace Events {
-CreateBlock::CreateBlock(Engine& engine,
- SPtr<Interface> client,
- int32_t id,
- SampleCount timestamp,
- const Raul::Path& path,
- const Resource::Properties& properties)
+CreateBlock::CreateBlock(Engine& engine,
+ SPtr<Interface> client,
+ int32_t id,
+ SampleCount timestamp,
+ const Raul::Path& path,
+ Resource::Properties& properties)
: Event(engine, client, id, timestamp)
, _path(path)
, _properties(properties)
diff --git a/src/server/events/CreateBlock.hpp b/src/server/events/CreateBlock.hpp
index ae068f1e..189a0896 100644
--- a/src/server/events/CreateBlock.hpp
+++ b/src/server/events/CreateBlock.hpp
@@ -38,12 +38,12 @@ namespace Events {
class CreateBlock : public Event
{
public:
- CreateBlock(Engine& engine,
- SPtr<Interface> client,
- int32_t id,
- SampleCount timestamp,
- const Raul::Path& block_path,
- const Resource::Properties& properties);
+ CreateBlock(Engine& engine,
+ SPtr<Interface> client,
+ int32_t id,
+ SampleCount timestamp,
+ const Raul::Path& block_path,
+ Resource::Properties& properties);
~CreateBlock();
@@ -53,7 +53,7 @@ public:
private:
Raul::Path _path;
- Resource::Properties _properties;
+ Resource::Properties& _properties;
Events::Get::Response _update;
GraphImpl* _graph;
BlockImpl* _block;