Remove some old debugging prints

This commit is contained in:
blitzmann
2018-10-08 12:50:07 -04:00
parent c0922adfb2
commit fd7c5c1580
3 changed files with 5 additions and 4 deletions

View File

@@ -81,7 +81,7 @@ class BitmapLoader(object):
import gui.mainFrame
cls.scaling_factor = int(gui.mainFrame.MainFrame.getInstance().GetContentScaleFactor())
scale = cls.scaling_factor
print(cls.scaling_factor)
filenameScaled = "{0}@{1}x.png".format(name, scale)
img = cls.loadImage(filenameScaled, location)
@@ -92,6 +92,7 @@ class BitmapLoader(object):
scale = 1
if img is None:
print(("Missing icon file: {0}/{1}".format(location, filename)))
return None
bmp: wx.Bitmap = img.ConvertToBitmap()
@@ -118,4 +119,4 @@ class BitmapLoader(object):
if os.path.exists(path):
return wx.Image(path)
else:
print(("Missing icon file: {0}".format(path)))
return None

View File

@@ -188,7 +188,7 @@ class ProjectedView(d.Display):
def fitChanged(self, event):
sFit = Fit.getInstance()
fit = sFit.getFit(event.fitID)
pyfalog.debug("ProjectedView::fitChanged: {}", repr(fit))
# pyfalog.debug("ProjectedView::fitChanged: {}", repr(fit))
self.Parent.Parent.DisablePage(self, not fit or fit.isStructure)

View File

@@ -517,7 +517,7 @@ class FittingView(d.Display):
self.populate(self.mods)
def fitChanged(self, event):
print('====== Fit Changed: {} {} activeFitID: {}, eventFitID: {}'.format(repr(self), str(bool(self)), self.activeFitID, event.fitID))
# print('====== Fit Changed: {} {} activeFitID: {}, eventFitID: {}'.format(repr(self), str(bool(self)), self.activeFitID, event.fitID))
if not self:
event.Skip()
return