Gui: PR6497 move return statement to new line
This commit is contained in:
@@ -584,7 +584,8 @@ bool View3DInventor::onMsg(const char* pMsg, const char** ppReturn)
|
||||
}
|
||||
else if(strcmp("GetCamera",pMsg) == 0 ) {
|
||||
SoCamera * Cam = _viewer->getSoRenderManager()->getCamera();
|
||||
if (!Cam) return false;
|
||||
if (!Cam)
|
||||
return false;
|
||||
*ppReturn = SoFCDB::writeNodesToString(Cam).c_str();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user