+ reimplement copyObject based on merge document

This commit is contained in:
wmayer
2014-12-13 21:43:20 +01:00
parent 157ab9508e
commit ff7e33b95d
5 changed files with 24 additions and 93 deletions

View File

@@ -1656,13 +1656,6 @@ void SketchObject::onDocumentRestored()
}
}
void SketchObject::onFinishDuplicating()
{
Constraints.acceptGeometry(getCompleteGeometry());
rebuildVertexIndex();
onDocumentRestored();
}
void SketchObject::getGeoVertexIndex(int VertexId, int &GeoId, PointPos &PosId) const
{
if (VertexId < 0 || VertexId >= int(VertexId2GeoId.size())) {

View File

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