improve undo/redo handling
This commit is contained in:
@@ -148,11 +148,11 @@ void ShapeValidator::checkAndAdd(const Part::TopoShape &ts, const char *subName,
|
||||
}
|
||||
|
||||
|
||||
PROPERTY_SOURCE(Surface::SurfaceFeature, Part::Feature)
|
||||
PROPERTY_SOURCE(Surface::SurfaceFeature, Part::Spline)
|
||||
|
||||
const char* SurfaceFeature::FillTypeEnums[] = {"Stretched", "Coons", "Curved", NULL};
|
||||
|
||||
SurfaceFeature::SurfaceFeature(): Feature()
|
||||
SurfaceFeature::SurfaceFeature(): Spline()
|
||||
{
|
||||
ADD_PROPERTY(FillType, ((long)0));
|
||||
ADD_PROPERTY(BoundaryList, (0, "Dummy"));
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <App/PropertyUnits.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <Mod/Part/App/PartFeature.h>
|
||||
#include <Mod/Part/App/FeaturePartSpline.h>
|
||||
|
||||
namespace Surface
|
||||
{
|
||||
@@ -61,7 +61,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class SurfaceFeature : public Part::Feature
|
||||
class SurfaceFeature : public Part::Spline
|
||||
{
|
||||
PROPERTY_HEADER(Surface::SurfaceFeature);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user