[TD] remove hatch property DirProjection

as discussed in https://forum.freecadweb.org/viewtopic.php?f=35&t=47536&p=408075#p407904
the property DirProjection can go.
This commit is contained in:
donovaly
2020-06-13 19:29:25 +02:00
committed by WandererFan
parent 0313f485db
commit fc6a449fba
2 changed files with 1 additions and 5 deletions

View File

@@ -59,15 +59,12 @@ DrawHatch::DrawHatch(void)
{
static const char *vgroup = "Hatch";
ADD_PROPERTY_TYPE(DirProjection, (0,0,1.0), vgroup, App::Prop_None, "Projection direction when Hatch was defined"); //sb RO?
ADD_PROPERTY_TYPE(Source, (0), vgroup, (App::PropertyType)(App::Prop_None), "The View + Face to be hatched");
Source.setScope(App::LinkScope::Global);
ADD_PROPERTY_TYPE(HatchPattern, (prefSvgHatch()), vgroup, App::Prop_None, "The hatch pattern file for this area");
ADD_PROPERTY_TYPE(SvgIncluded, (""), vgroup,App::Prop_None,
"Embedded SVG hatch file. System use only."); // n/a to end users
DirProjection.setStatus(App::Property::ReadOnly,true);
std::string svgFilter("SVG files (*.svg *.SVG);;All files (*)");
HatchPattern.setFilter(svgFilter);
}

View File

@@ -41,8 +41,7 @@ public:
DrawHatch();
virtual ~DrawHatch();
App::PropertyVector DirProjection; //Source is only valid for original projection?
App::PropertyLinkSub Source; //the dvp & face this hatch belongs to
App::PropertyLinkSub Source; // the dvp & face this hatch belongs to
App::PropertyFile HatchPattern;
App::PropertyFileIncluded SvgIncluded;