Assembly: set the rotating joint visible when dragging.
This commit is contained in:
@@ -75,6 +75,7 @@ public:
|
||||
{
|
||||
Translation,
|
||||
TranslationOnAxis,
|
||||
TranslationOnPlane,
|
||||
Rotation,
|
||||
RotationOnPlane,
|
||||
TranslationOnAxisAndRotationOnePlane,
|
||||
@@ -119,12 +120,15 @@ public:
|
||||
bool canStartDragging;
|
||||
bool partMoving;
|
||||
bool enableMovement;
|
||||
bool jointVisibilityBackup;
|
||||
int numberOfSel;
|
||||
Base::Vector3d initialPosition;
|
||||
Base::Vector3d initialPositionRot;
|
||||
Base::Placement jcsPlc;
|
||||
Base::Placement jcsGlobalPlc;
|
||||
|
||||
App::DocumentObject* movingJoint;
|
||||
|
||||
std::vector<std::pair<App::DocumentObject*, double>> objectMasses;
|
||||
std::vector<std::pair<App::DocumentObject*, Base::Placement>> docsToMove;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user