LGTM: [skip ci] fix: Empty branch of conditional
An empty block after a conditional can be a sign of an omission and can decrease maintainability of the code. Such blocks should contain an explanatory comment to aid future maintainers.
This commit is contained in:
@@ -3555,6 +3555,7 @@ void View3DInventorViewer::selectCB(void* viewer, SoPath* path)
|
||||
{
|
||||
ViewProvider* vp = static_cast<View3DInventorViewer*>(viewer)->getViewProviderByPath(path);
|
||||
if (vp && vp->useNewSelectionModel()) {
|
||||
// do nothing here
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3562,6 +3563,7 @@ void View3DInventorViewer::deselectCB(void* viewer, SoPath* path)
|
||||
{
|
||||
ViewProvider* vp = static_cast<View3DInventorViewer*>(viewer)->getViewProviderByPath(path);
|
||||
if (vp && vp->useNewSelectionModel()) {
|
||||
// do nothing here
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user