diff --git a/dublast/__init__.py b/dublast/__init__.py index 1409012..a805a8a 100644 --- a/dublast/__init__.py +++ b/dublast/__init__.py @@ -15,7 +15,7 @@ "name" : "DuBlast", "author" : "Nicolas 'Duduf' Dufresne, Kevin C. Burke (@blastframe)", "blender" : (2, 81, 0), - "version" : (3,3,1), + "version" : (3,3,2), "location" : "Properties > Output Properties > Playblast, 3D View > View menu", "description" : "Create playblasts: Quickly render and play viewport animation.", "warning" : "", diff --git a/dublast/playblast.py b/dublast/playblast.py index 2320e72..680e1f3 100644 --- a/dublast/playblast.py +++ b/dublast/playblast.py @@ -80,6 +80,9 @@ def poll(cls, context): return context.scene is not None def execute(self, context): + + # Check for updates + bpy.ops.dublast.updatebox('INVOKE_DEFAULT', discreet = True) scene = context.scene playblast = scene.playblast diff --git a/dublast/preferences.py b/dublast/preferences.py index 9bc35d9..0980c49 100644 --- a/dublast/preferences.py +++ b/dublast/preferences.py @@ -18,7 +18,6 @@ # import bpy -from bpy.app.handlers import persistent from dublast import dublf class DUBLAST_OpenURL(dublf.ops.OpenURL): @@ -59,10 +58,6 @@ def draw(self, context): layout.operator("dublast.updatebox", text="Check for updates now") layout.operator("dublast.reportissue") -@persistent -def checkUpdateHandler(arg1, arg2): - bpy.ops.dublast.updatebox('INVOKE_DEFAULT', discreet = True) - classes = ( DUBLAST_OpenURL, DUBLAST_UpdateBox, @@ -74,10 +69,6 @@ def register(): for cls in classes: bpy.utils.register_class(cls) - # Check for updates after loading a blend file - if not checkUpdateHandler in bpy.app.handlers.load_post: - bpy.app.handlers.load_post.append(checkUpdateHandler) - def unregister(): for cls in reversed(classes): bpy.utils.unregister_class(cls) diff --git a/tools/dev_install.bat b/tools/dev_install.bat index d065c6e..aebf253 100644 --- a/tools/dev_install.bat +++ b/tools/dev_install.bat @@ -1,7 +1,7 @@ @echo off :: The path to Blender -SET "blender_config_path=%appData%\Blender Foundation\Blender\3.3" +SET "blender_config_path=%appData%\Blender Foundation\Blender\3.6" :: The repo and dependencies SET repoPath=%~dp0..