Miscellaneous fixes
This commit is contained in:
committed by
Stefan Tröger
parent
6eb6f73e52
commit
e16b398cbc
@@ -269,12 +269,12 @@ const std::set<QString> Line::getHint()
|
||||
return std::set<QString>();
|
||||
}
|
||||
|
||||
Base::Vector3d Line::getBasePoint()
|
||||
Base::Vector3d Line::getBasePoint() const
|
||||
{
|
||||
return Placement.getValue().getPosition();
|
||||
}
|
||||
|
||||
Base::Vector3d Line::getDirection()
|
||||
Base::Vector3d Line::getDirection() const
|
||||
{
|
||||
Base::Rotation rot = Placement.getValue().getRotation();
|
||||
Base::Vector3d dir;
|
||||
|
||||
@@ -47,8 +47,8 @@ public:
|
||||
static void initHints();
|
||||
const std::set<QString> getHint();
|
||||
|
||||
Base::Vector3d getBasePoint();
|
||||
Base::Vector3d getDirection();
|
||||
Base::Vector3d getBasePoint() const;
|
||||
Base::Vector3d getDirection() const;
|
||||
|
||||
protected:
|
||||
virtual void onChanged(const App::Property* prop);
|
||||
|
||||
Reference in New Issue
Block a user