- commented some debug messages

- imported speedups for shapely
This commit is contained in:
Marius Stanciu 2019-02-07 01:36:37 +02:00 committed by Marius S
parent 700222d5dc
commit 6c6a802afb
4 changed files with 6 additions and 3 deletions

View File

@ -4228,8 +4228,8 @@ class App(QtCore.QObject):
self.app_cursor.enabled = False
try:
App.log.debug('button=%d, x=%d, y=%d, xdata=%f, ydata=%f' % (
event.button, event.pos[0], event.pos[1], self.pos[0], self.pos[1]))
# App.log.debug('button=%d, x=%d, y=%d, xdata=%f, ydata=%f' % (
# event.button, event.pos[0], event.pos[1], self.pos[0], self.pos[1]))
modifiers = QtWidgets.QApplication.keyboardModifiers()
if event.button == 1:

View File

@ -684,7 +684,7 @@ class ObjectCollection(QtCore.QAbstractItemModel):
:rtype: list
"""
FlatCAMApp.App.log.debug(str(inspect.stack()[1][3]) + " --> OC.get_names()")
# FlatCAMApp.App.log.debug(str(inspect.stack()[1][3]) + " --> OC.get_names()")
return [x.options['name'] for x in self.get_list()]
def get_bounds(self):

View File

@ -12,6 +12,8 @@ CAD program, and create G-Code for Isolation routing.
7.02.2019
- in Paint Tool, when painting single polygon, when clicking on canvas for the polygon there is no longer a selection of the entire object
- commented some debug messages
- imported speedups for shapely
6.02.2019

View File

@ -31,6 +31,7 @@ from shapely.wkt import loads as sloads
from shapely.wkt import dumps as sdumps
from shapely.geometry.base import BaseGeometry
from shapely.geometry import shape
from shapely import speedups
from collections import Iterable