Framerate issue when "Edit Linked Library" is expanded and a dense Grease Pencil object is selected #81705

Open
opened 2020-10-14 17:33:02 +02:00 by Robin Bonhoure · 8 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2080 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.87

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-07-12 09:05, hash: blender/blender@f319eec881
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Edit Linked Library (0, 9, 1)
Author: Jason van Gumster (Fweeb), Bassam Kurdali, Pablo Vazquez, Rainer Trummer

Short description of error
Having a dense grease pencil object selected when having "Edit Linked Library" expanded in the Sidebar slowdown Blender a lot

Exact steps for others to reproduce the error

  • Create a grease pencil that has a lot of strokes
  • Select it
  • In the Sidebar: Collapse and Expand the "Edit Linked Library" to see the difference in frame rate
**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce RTX 2080 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.87 **Blender Version** Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-07-12 09:05, hash: `blender/blender@f319eec881` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Edit Linked Library (0, 9, 1) Author: Jason van Gumster (Fweeb), Bassam Kurdali, Pablo Vazquez, Rainer Trummer **Short description of error** Having a dense grease pencil object selected when having "Edit Linked Library" expanded in the Sidebar slowdown Blender a lot **Exact steps for others to reproduce the error** - Create a grease pencil that has a lot of strokes - Select it - In the Sidebar: Collapse and Expand the "Edit Linked Library" to see the difference in frame rate
Author

Added subscriber: @Ziboo

Added subscriber: @Ziboo

Added subscriber: @mano-wii

Added subscriber: @mano-wii
  • In the Sidebar: Collapse and Expand the "Edit Linked Library" to see the difference in frame rate

Do you refer to the addon?
I am not familiar with it and I cannot reproduce the problem.
Can you describe steps without using it?

> - In the Sidebar: Collapse and Expand the "Edit Linked Library" to see the difference in frame rate Do you refer to the addon? I am not familiar with it and I cannot reproduce the problem. Can you describe steps without using it?
Author

I didn't know it was an addon actually...
It only happens when the addon is activated (https://docs.blender.org/manual/en/dev/addons/object/edit_linked_library.html)

I didn't know it was an addon actually... It only happens when the addon is activated (https://docs.blender.org/manual/en/dev/addons/object/edit_linked_library.html)

This seems to be a problem in addon then, I'll edit the description to indicate this.

This seems to be a problem in addon then, I'll edit the description to indicate this.
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Since the slow down happens just when viewing the panel of the add-on, then its draw method is probably at fault. And for grease pencil objects, we get the following error with (...) replaced by all icons in Blender. Which probably causes the slow down.

layout.label(text="%s is not linked" % context.active_object.name, icon=icon)
TypeError: UILayout.label(): error with keyword argument "icon" -  enum "OUTLINER_DATA_GPENCIL" not found in (...)
Since the slow down happens just when viewing the panel of the add-on, then its draw method is probably at fault. And for grease pencil objects, we get the following error with `(...)` replaced by all icons in Blender. Which probably causes the slow down. ``` layout.label(text="%s is not linked" % context.active_object.name, icon=icon) TypeError: UILayout.label(): error with keyword argument "icon" - enum "OUTLINER_DATA_GPENCIL" not found in (...) ```
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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#81705
No description provided.