diff --git a/src/Mod/TechDraw/App/DrawHatch.cpp b/src/Mod/TechDraw/App/DrawHatch.cpp index 70c8f0e7ff..36aa2ec79c 100644 --- a/src/Mod/TechDraw/App/DrawHatch.cpp +++ b/src/Mod/TechDraw/App/DrawHatch.cpp @@ -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); } diff --git a/src/Mod/TechDraw/App/DrawHatch.h b/src/Mod/TechDraw/App/DrawHatch.h index e8271fe76a..2f6854dfbb 100644 --- a/src/Mod/TechDraw/App/DrawHatch.h +++ b/src/Mod/TechDraw/App/DrawHatch.h @@ -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;