0000545: Undo revolve causes crash illegal storage, fix disappearing shape after undo/redo
This commit is contained in:
parent
08e6bc0e6a
commit
065213f9bd
|
@ -578,6 +578,7 @@ void ViewProviderPartExt::updateVisual(const TopoDS_Shape& inputShape)
|
|||
faceset ->coordIndex .setNum(0);
|
||||
faceset ->partIndex .setNum(0);
|
||||
lineset ->coordIndex .setNum(0);
|
||||
nodeset ->startIndex .setValue(0);
|
||||
VisualTouched = false;
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -58,5 +58,9 @@ void ViewProvider::updateData(const App::Property* prop)
|
|||
strcmp(prop->getName(),"AddShape") == 0) {
|
||||
return;
|
||||
}
|
||||
if (prop->getTypeId() == Part::PropertyPartShape::getClassTypeId() &&
|
||||
strcmp(prop->getName(),"SubShape") == 0) {
|
||||
return;
|
||||
}
|
||||
inherited::updateData(prop);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user