Em 24/03/2011 14:15, nei escreveu:
Hi, i discovery a bug in dwgspec.
follow the bug and my solution:
bug:
FIELD_2RD(insertion_pt);
if (!(FIELD_VALUE(dataflags) & 0x02))
{
FIELD_2DD(alignment_pt, 10, 20);
}
my solution:
FIELD_2RD(insertion_pt);
if (!(FIELD_VALUE(dataflags) & 0x02))
{
FIELD_2DD(alignment_pt, insertion_pt.x, insertion_pt.y);
}
regards
Nei
sorry me, this is right solution:
FIELD_2RD(insertion_pt);
if (!(FIELD_VALUE(dataflags) & 0x02))
{
FIELD_2DD(alignment_pt,_obj-> insertion_pt.x, _obj->
insertion_pt.y);
}
other entities too need this change.