QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category dxflib
  • Assigned To
    Andrew
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 3.12.3
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by Andrew - 08.12.2015
Last edited by Andrew - 08.12.2015

FS#1321 - dxflib: Handles not parsed correctly

I did noticed a bug in the lib: Indeed, the handle numbers that DL_Dxf is parsing are in most case incorrect.
I believe this is due to the way then handle number is parsed in DL_Dxf::processDXFGroups.
The handle is parsed by calling the function getIntValue, which itself calls the function toInt to convert the handle from std::string to int by calling the function std::strtol(handle, NULL, 10).
However, the handle numbers in a dxf file are stored as hexadecimal.
I wrote a quick and easy fix to this issue, just tell me if you are interested!

Closed by  Andrew
08.12.2015 14:37
Reason for closing:  Fixed
Additional comments about closing:  

https://github.com/qcad/qcad/commit /3a648082b96d5d1167d8c34627d9b45a20fe3d9 0

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing