QCAD Bugtracker

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

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

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
Closed by  Andrew
26.04.2011 14:51
Reason for closing:  Fixed
Admin
Andrew commented on 26.04.2011 14:11

fix applied, requires testing

Anonymous Submitter commented on 26.04.2011 14:48

works here

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing