~freecad-community/freecad-extras/drawing-dimensioning

« back to all changes in this revision

Viewing changes to selectionOverlay.py

  • Committer: hamish
  • Date: 2015-09-13 18:04:13 UTC
  • Revision ID: git-v1:d15fc78d4eed6126b2622a4fa9549d18cdd58a43
Patch for hideSelectionGraphicsItems, App undefined error

Show diffs side-by-side

added added

removed removed

Lines of Context:
213
213
            try:
214
214
                gi.hide()
215
215
            except RuntimeError, msg:
216
 
                App.Console.PrintError('hideSelectionGraphicsItems unable to hide graphicItem, RuntimeError msg %s' % str(msg))
 
216
                import FreeCAD
 
217
                FreeCAD.Console.PrintError('hideSelectionGraphicsItems unable to hide graphicItem, RuntimeError msg %s\n' % str(msg))
217
218
            if deleteFromGraphicItemsList:
218
219
                delList.append( ind )
219
220
    for delInd in reversed(delList):