mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 01:58:35 +05:00
untabify
This commit is contained in:
parent
904e9a8802
commit
4903340a61
@ -153,9 +153,9 @@ namespace SMESH
|
|||||||
|
|
||||||
if(theActor->GetPlot2Histogram())
|
if(theActor->GetPlot2Histogram())
|
||||||
if(aType == UpdateIn2dViewer)
|
if(aType == UpdateIn2dViewer)
|
||||||
aHistogram = theActor->UpdatePlot2Histogram();
|
aHistogram = theActor->UpdatePlot2Histogram();
|
||||||
else
|
else
|
||||||
aHistogram = theActor->GetPlot2Histogram();
|
aHistogram = theActor->GetPlot2Histogram();
|
||||||
else
|
else
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -167,14 +167,14 @@ namespace SMESH
|
|||||||
SUIT_ViewManager* aViewManager;
|
SUIT_ViewManager* aViewManager;
|
||||||
foreach( aViewManager, aViewManagerList ) {
|
foreach( aViewManager, aViewManagerList ) {
|
||||||
if (Plot2d_ViewManager* aManager = dynamic_cast<Plot2d_ViewManager*>(aViewManager)) {
|
if (Plot2d_ViewManager* aManager = dynamic_cast<Plot2d_ViewManager*>(aViewManager)) {
|
||||||
if (SPlot2d_Viewer* aViewer = dynamic_cast<SPlot2d_Viewer*>(aManager->getViewModel())) {
|
if (SPlot2d_Viewer* aViewer = dynamic_cast<SPlot2d_Viewer*>(aManager->getViewModel())) {
|
||||||
if (Plot2d_ViewFrame* aViewFrame = aViewer->getActiveViewFrame()) {
|
if (Plot2d_ViewFrame* aViewFrame = aViewer->getActiveViewFrame()) {
|
||||||
if(aType == UpdateIn2dViewer )
|
if(aType == UpdateIn2dViewer )
|
||||||
aViewFrame->displayObject(aHistogram, true);
|
aViewFrame->displayObject(aHistogram, true);
|
||||||
else if (aType == RemoveFrom2dViewer)
|
else if (aType == RemoveFrom2dViewer)
|
||||||
aViewFrame->eraseObject(aHistogram, true);
|
aViewFrame->eraseObject(aHistogram, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user