diff --git a/changelog.txt b/changelog.txt index cb5fa9c..a8753b4 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ +[3.6.1] +- Fixed a bug, that caused the plugin to crash on loading, when not running on Windows + [3.6.0] - Added support for Cura 5.6 diff --git a/package_plugin/package.json b/package_plugin/package.json index 4c0c70a..f5acdc2 100644 --- a/package_plugin/package.json +++ b/package_plugin/package.json @@ -9,7 +9,7 @@ "display_name": "Elegoo Neptune Thumbnails", "package_id": "ElegooNeptune3Thumbnails", "package_type": "plugin", - "package_version": "3.6.0", + "package_version": "3.6.1", "sdk_version": 8, "sdk_version_semver": "8.0.0", "website": "https://github.com/Molodos/ElegooNeptuneThumbnails" diff --git a/plugin.json b/plugin.json index 93b23a6..90b276d 100644 --- a/plugin.json +++ b/plugin.json @@ -7,7 +7,7 @@ "email": "realmolodos@gmail.com", "website": "https://github.com/Molodos" }, - "version": "3.6.0", + "version": "3.6.1", "description": "Adds Elegoo Neptune printer thumbnail to G-code. Contains options to display parameters like estimated print time or model height on the thumbnail", "supported_sdk_versions": [ "8.0.0", diff --git a/tools/thumbnail_generator.py b/tools/thumbnail_generator.py index b5a8fd5..34ac1e1 100644 --- a/tools/thumbnail_generator.py +++ b/tools/thumbnail_generator.py @@ -3,7 +3,7 @@ import math from array import array -from ctypes import CDLL, windll +from ctypes import CDLL from os import path from PyQt6.QtCore import Qt, QByteArray, QBuffer, QIODeviceBase @@ -243,7 +243,6 @@ def _parse_thumbnail_new(cls, img: QImage, width: int, height: int, img_type: st """ img_type = f";{img_type}:" - windll.kernel32.SetDllDirectoryW(None) if Platform.isOSX(): p_dll = CDLL(path.abspath(path.join(path.dirname(__file__), "..", "libs", "libColPic.dylib"))) elif Platform.isLinux():