Revert "App: fix property ordering problem when undo/redo (#3255)"

This reverts commit 24d30636e4fb990fdbd67538360846ff09456dfc.
This commit is contained in:
Uwe
2022-02-22 01:21:49 +01:00
parent 17e6ebf120
commit 16467d9067
14 changed files with 68 additions and 250 deletions

View File

@@ -840,12 +840,6 @@ void ViewProviderPartExt::updateData(const App::Property* prop)
{
const char *propName = prop->getName();
if (propName && (strcmp(propName, "Shape") == 0 || strstr(propName, "Touched") != nullptr)) {
TopoDS_Shape cShape = Part::Feature::getShape(getObject());
if(cachedShape.IsPartner(cShape)) {
Gui::ViewProviderGeometryObject::updateData(prop);
return;
}
// calculate the visual only if visible
if (isUpdateForced() || Visibility.getValue())
updateVisual();
@@ -924,7 +918,6 @@ void ViewProviderPartExt::updateVisual()
haction.apply(this->nodeset);
TopoDS_Shape cShape = Part::Feature::getShape(getObject());
cachedShape = cShape;
if (cShape.IsNull()) {
coords ->point .setNum(0);
norm ->vector .setNum(0);