Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'development_icon_get.py')
-rw-r--r--development_icon_get.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/development_icon_get.py b/development_icon_get.py
index f4bb7989..1f22a4d8 100644
--- a/development_icon_get.py
+++ b/development_icon_get.py
@@ -5,8 +5,8 @@ bl_info = {
"name": "Icon Viewer",
"description": "Click an icon to copy its name to the clipboard",
"author": "roaoao",
- "version": (1, 4, 0),
- "blender": (2, 80, 0),
+ "version": (1, 4, 1),
+ "blender": (3, 4, 0),
"location": "Text Editor > Dev Tab > Icon Viewer",
"doc_url": "{BLENDER_MANUAL_URL}/addons/development/icon_viewer.html",
"category": "Development",
@@ -30,7 +30,7 @@ HISTORY = []
def ui_scale():
prefs = bpy.context.preferences.system
- return prefs.dpi * prefs.pixel_size / DPI
+ return prefs.dpi / DPI
def prefs():