mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 10:08:35 +05:00
untabify
This commit is contained in:
parent
a614e772f5
commit
afcc3b209a
@ -22,7 +22,7 @@
|
||||
// GEOM GEOMGUI : GUI for Geometry component
|
||||
// File : GEOMBase.cxx
|
||||
// Author : Damien COQUERET, Open CASCADE S.A.S.
|
||||
//
|
||||
|
||||
#include "GEOMBase.h"
|
||||
|
||||
#include <GeometryGUI.h>
|
||||
@ -510,14 +510,16 @@ Handle(GEOM_AISShape) GEOMBase::ConvertIOinGEOMAISShape(const Handle(SALOME_Inte
|
||||
// function : ConvertIOinGEOMShape()
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
GEOM::GEOM_Object_ptr GEOMBase::ConvertIOinGEOMShape(const Handle(SALOME_InteractiveObject)& IO, Standard_Boolean& testResult)
|
||||
GEOM::GEOM_Object_ptr GEOMBase::ConvertIOinGEOMShape(const Handle(SALOME_InteractiveObject)& IO,
|
||||
Standard_Boolean& testResult)
|
||||
{
|
||||
GEOM::GEOM_Object_var aShape;
|
||||
testResult = false;
|
||||
|
||||
/* case SObject */
|
||||
if(IO->hasEntry()) {
|
||||
SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( SUIT_Session::session()->activeApplication()->activeStudy() );
|
||||
SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>
|
||||
(SUIT_Session::session()->activeApplication()->activeStudy());
|
||||
if ( !appStudy ) return GEOM::GEOM_Object::_nil();
|
||||
_PTR(Study) aStudy = appStudy->studyDS();
|
||||
|
||||
@ -582,6 +584,7 @@ GEOM::GEOM_Object_ptr GEOMBase::ConvertIOinGEOMObject( const Handle(SALOME_Inter
|
||||
{
|
||||
theResult = Standard_False;
|
||||
GEOM::GEOM_Object_var aReturnObject;
|
||||
|
||||
if (!theIO.IsNull())
|
||||
{
|
||||
const char* anEntry = theIO->getEntry();
|
||||
|
Loading…
Reference in New Issue
Block a user