Minor fix
Reduce redundant code in View3DInventorViewer class