RNV: Fix compilation problems on several platforms.

This commit is contained in:
Maintenance team (INV) 2017-03-24 12:00:15 +03:00
parent 3e56460d20
commit 5d0e158476

View File

@ -638,12 +638,9 @@ SUIT_ViewWindow* getWnd( const int id )
return resWnd;
}
actorAspect SMESH_Swig::GetActorAspect( const char* Mesh_Entry, int viewId )
class TGetActorAspect: public SALOME_Event
{
class TGetActorAspect: public SALOME_Event
{
public:
public:
typedef actorAspect TResult;
TResult myResult;
const char* _entry;
@ -685,8 +682,10 @@ actorAspect SMESH_Swig::GetActorAspect( const char* Mesh_Entry, int viewId )
myResult.opacity= anActor->GetOpacity();
MESSAGE("opacity: " << myResult.opacity);
}
};
};
actorAspect SMESH_Swig::GetActorAspect( const char* Mesh_Entry, int viewId )
{
return ProcessEvent(new TGetActorAspect( Mesh_Entry, viewId));
}