Assembly: Replace Tangent+Parallel+Planar by 'Distance'.
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
#ifndef ASSEMBLYGUI_VIEWPROVIDER_ViewProviderAssembly_H
|
||||
#define ASSEMBLYGUI_VIEWPROVIDER_ViewProviderAssembly_H
|
||||
|
||||
#include <QCoreApplication>
|
||||
|
||||
#include <Mod/Assembly/AssemblyGlobal.h>
|
||||
|
||||
#include <Gui/Selection.h>
|
||||
@@ -40,6 +42,7 @@ namespace AssemblyGui
|
||||
class AssemblyGuiExport ViewProviderAssembly: public Gui::ViewProviderPart,
|
||||
public Gui::SelectionObserver
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(AssemblyGui::ViewProviderAssembly)
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(AssemblyGui::ViewProviderAssembly);
|
||||
|
||||
public:
|
||||
@@ -57,6 +60,14 @@ public:
|
||||
void unsetEdit(int ModNum) override;
|
||||
bool isInEditMode();
|
||||
|
||||
/// Ask the view provider if it accepts object deletions while in edit
|
||||
bool acceptDeletionsInEdit() override
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
bool canDragObject(App::DocumentObject*) const override;
|
||||
|
||||
App::DocumentObject* getActivePart();
|
||||
|
||||
/// is called when the provider is in edit and the mouse is moved
|
||||
|
||||
Reference in New Issue
Block a user