[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:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user