mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-06-02 09:27:50 +05:00
NPAL18352: Selection bug in GEOM GUI.
This commit is contained in:
parent
b60ee9d17c
commit
771241721f
@ -212,11 +212,11 @@ GEOMGUI* GeometryGUI::getLibrary( const QString& libraryName )
|
|||||||
// try to load library if it is not loaded yet
|
// try to load library if it is not loaded yet
|
||||||
QCString libs;
|
QCString libs;
|
||||||
#ifndef WNT
|
#ifndef WNT
|
||||||
if( ( libs = getenv( "LD_LIBRARY_PATH" ) ) ) {
|
if ( (libs = getenv( "LD_LIBRARY_PATH" )) ) {
|
||||||
QStringList dirList = QStringList::split( ":", libs, false ); // skip empty entries
|
QStringList dirList = QStringList::split( ":", libs, false ); // skip empty entries
|
||||||
#else
|
#else
|
||||||
if( ( libs = getenv( "PATH" ) ) ) {
|
if ( (libs = getenv( "PATH" )) ) {
|
||||||
QStringList dirList = QStringList::split( ";", libs, false ); // skip empty entries
|
QStringList dirList = QStringList::split( ";", libs, false ); // skip empty entries
|
||||||
#endif
|
#endif
|
||||||
for( int i = dirList.count()-1; i >= 0; i-- ) {
|
for( int i = dirList.count()-1; i >= 0; i-- ) {
|
||||||
QString dir = dirList[ i ];
|
QString dir = dirList[ i ];
|
||||||
@ -1225,12 +1225,12 @@ bool GeometryGUI::activateModule( SUIT_Study* study )
|
|||||||
myVTKSelectors.append( new LightApp_VTKSelector( dynamic_cast<SVTK_Viewer*>( vm->getViewModel() ), sm ) );
|
myVTKSelectors.append( new LightApp_VTKSelector( dynamic_cast<SVTK_Viewer*>( vm->getViewModel() ), sm ) );
|
||||||
|
|
||||||
// disable OCC selectors
|
// disable OCC selectors
|
||||||
getApp()->selectionMgr()->setEnabled( false, OCCViewer_Viewer::Type() );
|
//getApp()->selectionMgr()->setEnabled( false, OCCViewer_Viewer::Type() );
|
||||||
for ( GEOMGUI_OCCSelector* sr = myOCCSelectors.first(); sr; sr = myOCCSelectors.next() )
|
for ( GEOMGUI_OCCSelector* sr = myOCCSelectors.first(); sr; sr = myOCCSelectors.next() )
|
||||||
sr->setEnabled(true);
|
sr->setEnabled(true);
|
||||||
|
|
||||||
// disable VTK selectors
|
// disable VTK selectors
|
||||||
getApp()->selectionMgr()->setEnabled( false, SVTK_Viewer::Type() );
|
//getApp()->selectionMgr()->setEnabled( false, SVTK_Viewer::Type() );
|
||||||
for ( LightApp_VTKSelector* sr = myVTKSelectors.first(); sr; sr = myVTKSelectors.next() )
|
for ( LightApp_VTKSelector* sr = myVTKSelectors.first(); sr; sr = myVTKSelectors.next() )
|
||||||
sr->setEnabled(true);
|
sr->setEnabled(true);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user