Resolved issue #845. Defining a "closed" internal path.
--HG-- branch : develop
This commit is contained in:
parent
b42664ce80
commit
f027d92a4c
|
@ -61,10 +61,9 @@ void VisToolSpecialPoint::RefreshGeometry()
|
|||
{
|
||||
if (object1Id > NULL_ID)
|
||||
{
|
||||
const QSharedPointer<VPointF> point = Visualization::data->GeometricObject<VPointF>(object1Id);
|
||||
|
||||
// Keep first, you can hide only objects those have shape
|
||||
m_point->RefreshPointGeometry(*Visualization::data->GeometricObject<VPointF>(object1Id));
|
||||
m_point->SetOnlyPoint(mode == Mode::Creation);
|
||||
m_point->RefreshPointGeometry(*point);
|
||||
m_point->setVisible(true);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,9 +66,9 @@ void VisPieceSpecialPoints::RefreshGeometry()
|
|||
for (int i = 0; i < m_spoints.size(); ++i)
|
||||
{
|
||||
VSimplePoint *point = GetPoint(static_cast<quint32>(i), supportColor);
|
||||
// Keep first, you can hide only objects those have shape
|
||||
point->RefreshPointGeometry(*Visualization::data->GeometricObject<VPointF>(m_spoints.at(i)));
|
||||
point->SetOnlyPoint(false);
|
||||
const QSharedPointer<VPointF> p = Visualization::data->GeometricObject<VPointF>(m_spoints.at(i));
|
||||
point->RefreshPointGeometry(*p);
|
||||
point->setVisible(true);
|
||||
|
||||
if (m_showRect)
|
||||
|
|
|
@ -57,8 +57,8 @@ void VisToolPiecePath::RefreshGeometry()
|
|||
for (int i = 0; i < nodes.size(); ++i)
|
||||
{
|
||||
VSimplePoint *point = GetPoint(static_cast<quint32>(i), supportColor);
|
||||
point->RefreshPointGeometry(nodes.at(i)); // Keep first, you can hide only objects those have shape
|
||||
point->SetOnlyPoint(mode == Mode::Creation);
|
||||
point->RefreshPointGeometry(nodes.at(i));
|
||||
point->setVisible(true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user