← All bug reports

FS#428Modify - Explode: Leaders not explodable

Type
Bug
Status
Closed
Resolution
Fixed
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3 RC3
Operating system
All
Reported
2011-12-10 by andrew
Closed
2011-12-11 by andrew

Leaders cannot be exploded.

Comments (1)

andrew 2011-12-10

Quick Fix:

File: scripts/Modify/Explode/Explode.js, after line 110 insert:

        // explode leaders into lines and solids (triangles):
        else if (isLeaderEntity(entity)) {
            shapes = entity.getShapes();
            for (k=0; k<shapes.length; k++) {
                newShapes.push(shapes[k].data());
            }
        }

Complete file Explode.js for download:

Closure comment

r19980