Commit dc3d3e8b authored by Jan Möbius's avatar Jan Möbius
Browse files

Corrected example

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13621 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 9f8f3714
......@@ -43,7 +43,8 @@ void ExamplePlugin::exampleFunction() {
emit addEmptyObject(DATA_PLANE, newObjectId);
// Get the newly created object
PlaneObject* object = PluginFunctions::getObject(newObjectId);
PlaneObject* object = 0;
PluginFunctions::getObject(newObjectId,object);
if(object) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment