mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-27 17:59:47 -07:00
Pre-cache faces connectivity during prepare job
CURA-12743 This avoids a huge slowdown when starting to paint
This commit is contained in:
parent
7504c8be89
commit
05b3aeb2bd
1 changed files with 2 additions and 0 deletions
|
|
@ -31,3 +31,5 @@ class PrepareTextureJob(Job):
|
|||
# Force clear OpenGL buffer so that new UV coordinates will be sent
|
||||
delattr(mesh, OpenGL.VertexBufferProperty)
|
||||
|
||||
# Also cache the faces connection, can be quite long to compute
|
||||
self._node.getMeshData().getFacesConnections()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue