+ reimplement copyObject based on merge document
This commit is contained in:
@@ -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())) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user