Part: remove trailing whitespace

This commit is contained in:
luz paz
2022-11-15 14:51:24 -05:00
committed by Chris Hennes
parent 52af260eb8
commit 2f1ff7928b
174 changed files with 757 additions and 757 deletions

View File

@@ -87,19 +87,19 @@ void SoBrepPointSet::GLRender(SoGLRenderAction *action)
if(ctx->selectionIndex.empty() || ctx->isSelectAll()) {
if(ctx2) {
ctx2->selectionColor = ctx->highlightColor;
renderSelection(action,ctx2);
renderSelection(action,ctx2);
} else
renderHighlight(action,ctx);
}else{
if(!action->isRenderingDelayedPaths())
renderSelection(action,ctx);
renderSelection(action,ctx);
if(ctx2) {
ctx2->selectionColor = ctx->highlightColor;
renderSelection(action,ctx2);
renderSelection(action,ctx2);
} else
renderHighlight(action,ctx);
if(action->isRenderingDelayedPaths())
renderSelection(action,ctx);
renderSelection(action,ctx);
}
return;
}
@@ -110,15 +110,15 @@ void SoBrepPointSet::GLRender(SoGLRenderAction *action)
if(ctx->isSelectAll()) {
if(ctx2 && !ctx2->selectionIndex.empty()) {
ctx2->selectionColor = ctx->selectionColor;
renderSelection(action,ctx2);
renderSelection(action,ctx2);
}else
renderSelection(action,ctx);
renderSelection(action,ctx);
if(action->isRenderingDelayedPaths())
renderHighlight(action,ctx);
return;
}
if(!action->isRenderingDelayedPaths())
renderSelection(action,ctx);
renderSelection(action,ctx);
}
if(ctx2 && !ctx2->selectionIndex.empty())
renderSelection(action,ctx2,false);
@@ -333,7 +333,7 @@ void SoBrepPointSet::doAction(SoAction* action)
SelContextPtr ctx = Gui::SoFCSelectionRoot::getActionContext(action,this,selContext);
selCounter.checkAction(selaction,ctx);
ctx->selectionColor = selaction->getColor();
if(ctx->isSelectAll())
if(ctx->isSelectAll())
ctx->selectionIndex.clear();
if(ctx->selectionIndex.insert(index).second)
touch();