QCAD

QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help - Check for Updates)

Tasklist

FS#32 - REcmaDocument.h: queryIntersectedEntitiesXY() is missing

Attached to Project: QCAD
Opened by Martin (martin) - Tuesday, 26 April 2011, 10:04 GMT
Last edited by Andrew (andrew) - Tuesday, 26 April 2011, 14:51 GMT
Task Type Bug Report
Category ECMAScript
Status Closed
Assigned To Andrew (andrew)
Operating System All
Severity High
Priority High
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

context:

Uncaught exception at scripts/Draw/Polyline/PolylineFromSegments/PolylineFromSegments.js:136: TypeError: Result of expression 'doc.queryIntersectedEntitiesXY' [undefined] is not a function.
136	            var candidates = doc.queryIntersectedEntitiesXY(box);

RDocument.h:

    QSet<REntity::Id> queryContainedEntities(
        const RBox& box
    );
    QSet<REntity::Id> queryIntersectedEntitiesXY(
        const RBox& box,
        bool checkBoundingBoxOnly=false,
        RBlock::Id blockId = RBlock::INVALID_ID,
        const QList<RS::EntityType>& filter = QList<RS::EntityType>()
    );
    QSet<REntity::Id> queryContainedEntitiesXY(
        const RBox& box
    );

REcmaDocument.h:

    static QScriptValue
    queryContainedEntities(QScriptContext* context, QScriptEngine* engine);
    static QScriptValue
    queryContainedEntitiesXY(QScriptContext* context, QScriptEngine* engine);
    static QScriptValue
This task depends upon

Closed by  Andrew (andrew)
Tuesday, 26 April 2011, 14:51 GMT
Reason for closing:  Fixed
Comment by Andrew (andrew) - Tuesday, 26 April 2011, 14:11 GMT

fix applied, requires testing

Comment by Martin (martin) - Tuesday, 26 April 2011, 14:48 GMT

works here

Loading...