kopia lustrzana https://github.com/vilemduha/blendercam
don't check for updates in background blender
rodzic
30c1d8641e
commit
f9aa9d40d9
|
@ -18,7 +18,10 @@ class UpdateChecker(bpy.types.Operator):
|
|||
bl_options = {'REGISTER', 'UNDO'}
|
||||
|
||||
def execute(self, context):
|
||||
last_update_check = bpy.context.preferences.addons['cam'].preferences.last_update_check
|
||||
|
||||
if bpy.app.background:
|
||||
return {"FINISHED"}
|
||||
last_update_check = bpy.context.preferences.addons['cam'].preferences.last_update_check
|
||||
today=date.today().toordinal()
|
||||
update_source = bpy.context.preferences.addons['cam'].preferences.update_source
|
||||
match = re.match(r"https://github.com/([^/]+/[^/]+)",update_source)
|
||||
|
|
Ładowanie…
Reference in New Issue