PVS: V1762 It is possible a virtual function was overridden incorrectly
This commit is contained in:
@@ -208,7 +208,7 @@ void ViewProviderFemPostObject::setDisplayMode(const char* ModeName)
|
||||
else if (strcmp("Nodes (surface only)",ModeName)==0)
|
||||
m_currentAlgorithm = m_pointsSurface;
|
||||
|
||||
update();
|
||||
updateVtk();
|
||||
|
||||
ViewProviderDocumentObject::setDisplayMode( ModeName );
|
||||
}
|
||||
@@ -226,7 +226,7 @@ std::vector<std::string> ViewProviderFemPostObject::getDisplayModes(void) const
|
||||
return StrList;
|
||||
}
|
||||
|
||||
void ViewProviderFemPostObject::update() {
|
||||
void ViewProviderFemPostObject::updateVtk() {
|
||||
|
||||
if(!setupPipeline())
|
||||
return;
|
||||
@@ -505,7 +505,7 @@ void ViewProviderFemPostObject::WriteTransparency() {
|
||||
void ViewProviderFemPostObject::updateData(const App::Property* p) {
|
||||
|
||||
if( strcmp(p->getName(), "Data") == 0 ) {
|
||||
update();
|
||||
updateVtk();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ public:
|
||||
protected:
|
||||
virtual void setupTaskDialog(TaskDlgPost* dlg);
|
||||
bool setupPipeline();
|
||||
void update();
|
||||
void updateVtk();
|
||||
|
||||
SoCoordinate3* m_coordinates;
|
||||
SoIndexedPointSet* m_markers;
|
||||
|
||||
Reference in New Issue
Block a user