diff --git a/src/Mod/Sketcher/App/GeometryFacade.h b/src/Mod/Sketcher/App/GeometryFacade.h index 68c342245b..12b778f5bc 100644 --- a/src/Mod/Sketcher/App/GeometryFacade.h +++ b/src/Mod/Sketcher/App/GeometryFacade.h @@ -166,6 +166,8 @@ public: bool isInternalAligned() const { return this->getInternalType() != InternalType::None; } + bool isInternalType(InternalType::InternalType type) const { return this->getInternalType() == type; } + // Geometry Extension Information inline const std::string &getExtensionName () const {return SketchGeoExtension->getName();}