mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 10:10:34 +05:00
Entry in pipeline browser with same name than those into the object browser.
This commit is contained in:
parent
4bc55e3217
commit
a8fd1e6ddd
@ -1775,6 +1775,7 @@ void GEOM_Displayer::Update( SALOME_PV3DPrs* prs )
|
|||||||
// processing for usual geometry presentation
|
// processing for usual geometry presentation
|
||||||
//
|
//
|
||||||
{
|
{
|
||||||
|
pv3dPrs->SetName( myNameInObjBrowser );
|
||||||
GEOM_Actor *actor = GEOM_Actor::New();
|
GEOM_Actor *actor = GEOM_Actor::New();
|
||||||
updateActorProperties( actor, true );
|
updateActorProperties( actor, true );
|
||||||
pv3dPrs->FillUsingActor( actor );
|
pv3dPrs->FillUsingActor( actor );
|
||||||
@ -1882,6 +1883,7 @@ SALOME_Prs* GEOM_Displayer::buildPresentation( const QString& entry,
|
|||||||
GEOM::GEOM_BaseObject_var GeomBaseObject = GEOM::GEOM_BaseObject::_narrow( object );
|
GEOM::GEOM_BaseObject_var GeomBaseObject = GEOM::GEOM_BaseObject::_narrow( object );
|
||||||
if ( !GeomBaseObject->_is_nil() )
|
if ( !GeomBaseObject->_is_nil() )
|
||||||
{
|
{
|
||||||
|
myNameInObjBrowser = getName( GeomBaseObject );
|
||||||
myType = GeomBaseObject->GetType();
|
myType = GeomBaseObject->GetType();
|
||||||
|
|
||||||
// downcast to GEOM object
|
// downcast to GEOM object
|
||||||
|
@ -284,6 +284,7 @@ protected:
|
|||||||
TCollection_AsciiString myFieldStepName;
|
TCollection_AsciiString myFieldStepName;
|
||||||
double myFieldStepRangeMin;
|
double myFieldStepRangeMin;
|
||||||
double myFieldStepRangeMax;
|
double myFieldStepRangeMax;
|
||||||
|
std::string myNameInObjBrowser;
|
||||||
std::string myName;
|
std::string myName;
|
||||||
std::string myTexture;
|
std::string myTexture;
|
||||||
int myType;
|
int myType;
|
||||||
|
Loading…
Reference in New Issue
Block a user