mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-25 09:10:33 +05:00
Using files from package LightApp instead of SalomeApp
This commit is contained in:
parent
d47d1f292b
commit
80b2ef84c3
@ -10,7 +10,7 @@
|
||||
#include "SUIT_Session.h"
|
||||
|
||||
#include "SalomeApp_Study.h"
|
||||
#include "SalomeApp_DataOwner.h"
|
||||
#include "LightApp_DataOwner.h"
|
||||
|
||||
#include "SALOME_InteractiveObject.hxx"
|
||||
#include "SALOMEDSClient_SObject.hxx"
|
||||
@ -129,8 +129,8 @@ bool SMESH_NumberFilter::isOk (const SUIT_DataOwner* theDataOwner) const
|
||||
GEOM::GEOM_Object_ptr SMESH_NumberFilter::getGeom
|
||||
(const SUIT_DataOwner* theDataOwner, const bool extractReference ) const
|
||||
{
|
||||
const SalomeApp_DataOwner* owner =
|
||||
dynamic_cast<const SalomeApp_DataOwner*>(theDataOwner);
|
||||
const LightApp_DataOwner* owner =
|
||||
dynamic_cast<const LightApp_DataOwner*>(theDataOwner);
|
||||
SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>
|
||||
(SUIT_Session::session()->activeApplication()->activeStudy());
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <SUIT_Session.h>
|
||||
|
||||
#include <SalomeApp_Study.h>
|
||||
#include <SalomeApp_DataOwner.h>
|
||||
#include <LightApp_DataOwner.h>
|
||||
|
||||
SMESH_TypeFilter::SMESH_TypeFilter (MeshObjectType theType)
|
||||
{
|
||||
@ -18,8 +18,8 @@ bool SMESH_TypeFilter::isOk (const SUIT_DataOwner* theDataOwner) const
|
||||
{
|
||||
bool Ok = false, extractReference = true;
|
||||
|
||||
const SalomeApp_DataOwner* owner =
|
||||
dynamic_cast<const SalomeApp_DataOwner*>(theDataOwner);
|
||||
const LightApp_DataOwner* owner =
|
||||
dynamic_cast<const LightApp_DataOwner*>(theDataOwner);
|
||||
SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>
|
||||
(SUIT_Session::session()->activeApplication()->activeStudy());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user