I'm relatively new to c++ and open scene graph. I'm trying to make something that I have recorded in the application to playback, however I have an error that just won't budge - hoping it's something easy to fix.
if (!robotInputDeviceState->paused) {
bodycb->setPause(false);
robotInputDeviceState->outline->setWidth(0);
}
else {
bodycb->setPause(true);
findNode.getFirst()->setUpdateCallback(new updateRobotPosCallback(robotInputDeviceState, "BodyRotator"));
robotInputDeviceState->bodyPath->clear();
}
return false;
break;
The error code is in the screenshot below, and the red underline is on the bracket '(' after new updateRobotPosCallback and before the robotInputDeviceState.