Sandbox: PR6497 move return statement to new line
This commit is contained in:
@@ -1380,7 +1380,8 @@ void CmdMengerSponge::activated(int)
|
||||
QString::fromLatin1("Menger sponge"),
|
||||
QString::fromLatin1("Recursion depth:"),
|
||||
3, 1, 5, 1, &ok);
|
||||
if (!ok) return;
|
||||
if (!ok)
|
||||
return;
|
||||
int ret = QMessageBox::question(Gui::getMainWindow(),
|
||||
QString::fromLatin1("Parallel"),
|
||||
QString::fromLatin1("Do you want to run this in a thread pool?"),
|
||||
|
||||
@@ -169,7 +169,8 @@ void SoWidgetShape::GLRender(SoGLRenderAction * /*action*/)
|
||||
void SoWidgetShape::computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
|
||||
{
|
||||
// ignore if node is empty
|
||||
if (this->image.isNull()) return;
|
||||
if (this->image.isNull())
|
||||
return;
|
||||
|
||||
SbVec3f v0, v1, v2, v3;
|
||||
// this will cause a cache dependency on the view volume,
|
||||
@@ -237,7 +238,8 @@ SoWidgetShape::getQuad(SoState * state, SbVec3f & v0, SbVec3f & v1,
|
||||
|
||||
void SoWidgetShape::generatePrimitives(SoAction *action)
|
||||
{
|
||||
if (this->image.isNull()) return;
|
||||
if (this->image.isNull())
|
||||
return;
|
||||
|
||||
SoState *state = action->getState();
|
||||
state->push();
|
||||
|
||||
Reference in New Issue
Block a user