Sketcher: Bug fix: Undo/Redo implementation

================================================

Fixes a bug in master that the dependent 3D geometry would not update on Undo (in Auto update mode enabled).

Undo and redo signals are handled by ViewProvider in order to introduce an recompute or solve() of the sketchObject
as determined by the Auto Update Mode in order to update DoF and dependent geometry if necessary.
This commit is contained in:
Abdullah Tahiri
2015-06-08 17:21:53 +02:00
committed by wmayer
parent da5270131c
commit d1acd124cc
4 changed files with 44 additions and 2 deletions

View File

@@ -51,6 +51,8 @@
#include <Base/Tools.h>
#include <Base/Console.h>
#include <App/Document.h>
#include <Mod/Part/App/Geometry.h>
#include "SketchObject.h"

View File

@@ -227,7 +227,7 @@ protected:
/// get called by the container when a property has changed
virtual void onChanged(const App::Property* /*prop*/);
virtual void onDocumentRestored();
private:
std::vector<Part::Geometry *> ExternalGeo;