Icon Viewer broken in master #51101

Closed
opened 2017-03-31 23:13:05 +02:00 by Brendon Murphy · 10 comments
Member

Icon Viewer addon is broken in latest builds. it looks like this commit breaks it;
https://developer.blender.org/rBfe3fb236970ce30733381ad1ae8b89c55266c517

Traceback (most recent call last):
  File "C:\Users\Dell\Downloads\blender-2.78-27 march\2.78\scripts\addons\development_icon_get.py", line 272, in draw
    math.ceil(ui_scale() * region_scale * ICON_SIZE))
  File "C:\Users\Dell\Downloads\blender-2.78-27 march\2.78\scripts\addons\development_icon_get.py", line 48, in ui_scale
    if bpy.context.user_preferences.system.virtual_pixel_mode == 'DOUBLE':
AttributeError: 'UserPreferencesSystem' object has no attribute 'virtual_pixel_mode'

location: <unknown location>:-1


Thanks

Icon Viewer addon is broken in latest builds. it looks like this commit breaks it; https://developer.blender.org/rBfe3fb236970ce30733381ad1ae8b89c55266c517 ``` Traceback (most recent call last): File "C:\Users\Dell\Downloads\blender-2.78-27 march\2.78\scripts\addons\development_icon_get.py", line 272, in draw math.ceil(ui_scale() * region_scale * ICON_SIZE)) File "C:\Users\Dell\Downloads\blender-2.78-27 march\2.78\scripts\addons\development_icon_get.py", line 48, in ui_scale if bpy.context.user_preferences.system.virtual_pixel_mode == 'DOUBLE': AttributeError: 'UserPreferencesSystem' object has no attribute 'virtual_pixel_mode' location: <unknown location>:-1 ``` Thanks
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @BrendonMurphy

Added subscriber: @BrendonMurphy
Aleksandr Zinovev was assigned by Brendon Murphy 2017-03-31 23:13:46 +02:00
Author
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Author
Member
False alarm was fixed: https://developer.blender.org/rBA9159fac1f5a9f4f29a625feea16b9824a33c59ce Closing as invalid

Changed status from 'Archived' to: 'Resolved'

Changed status from 'Archived' to: 'Resolved'

Fixed in 9159fac1f5

Fixed in 9159fac1f5a9

This issue was referenced by e0c236644b

This issue was referenced by e0c236644bc9d3fff711ee69555fa9a7ffa61706

Added subscriber: @brecht

Added subscriber: @brecht

Neither the old nor the new code worked correctly on high DPI displays, fixed now.

Neither the old nor the new code worked correctly on high DPI displays, fixed now.
Author
Member

Thanks, what an odd task that was ;)
Thanks @brecht for double checking

Thanks, what an odd task that was ;) Thanks @brecht for double checking
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#51101
No description provided.