Remove some old debugging prints
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user