Fix preparing placeholders for final measurements. #193
This commit is contained in:
parent
6e98acd13a
commit
aeaf962a57
|
@ -275,7 +275,8 @@ auto PreparePlaceholders(const VAbstractPattern *doc, const VContainer *data) ->
|
|||
|
||||
{
|
||||
const QVector<VFinalMeasurement> measurements = doc->GetFinalMeasurements();
|
||||
const VContainer completeData = doc->GetCompleteData();
|
||||
VContainer completeData = doc->GetCompleteData();
|
||||
completeData.FillPiecesAreas(VAbstractValApplication::VApp()->patternUnits());
|
||||
|
||||
for (int i=0; i < measurements.size(); ++i)
|
||||
{
|
||||
|
|
|
@ -622,7 +622,8 @@ void DialogEditLabel::InitPlaceholders()
|
|||
|
||||
{
|
||||
const QVector<VFinalMeasurement> measurements = m_doc->GetFinalMeasurements();
|
||||
const VContainer completeData = m_doc->GetCompleteData();
|
||||
VContainer completeData = m_doc->GetCompleteData();
|
||||
completeData.FillPiecesAreas(VAbstractValApplication::VApp()->patternUnits());
|
||||
|
||||
for (int i=0; i < measurements.size(); ++i)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user