adding a message before loading the plugin with a try except
This commit is contained in:
@ -1,2 +1,6 @@
|
||||
from .snap2grid import snap_to_grid
|
||||
snap_to_grid().register()
|
||||
import wx
|
||||
try:
|
||||
from .snap2grid import snap_to_grid
|
||||
snap_to_grid().register()
|
||||
except Exception as e:
|
||||
wx.LogMessage('snap to grid plugin error\n'+str(e))
|
||||
|
Reference in New Issue
Block a user