Skip to content
Snippets Groups Projects
Commit 83defb14 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Set empty MemoryID in example client

parent 614f5be5
No related branches found
No related tags found
2 merge requests!171Periodic merge of armem/dev into master,!170ArMem Viewer: Resolve Memory IDs
......@@ -354,8 +354,9 @@ namespace armarx
update.entityID = exampleDataProviderID.withEntityName("default");
update.timeCreated = time;
armem::example::ExampleData primitive;
update.instancesData = { primitive.toAron() };
armem::example::ExampleData data;
toAron(data.memoryLink, armem::MemoryID());
update.instancesData = { data.toAron() };
}
//the answer
{
......@@ -387,6 +388,9 @@ namespace armarx
{ "two", 2 },
{ "three", 3 },
};
toAron(data.memoryLink, armem::MemoryID());
{
CByteImage& image = *data.the_ivt_image;
image.Set(20, 10, CByteImage::ImageType::eRGB24);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment