Proportional editing lag #44035

Open
opened 2015-03-18 08:40:18 +01:00 by Maksym Tkachenko · 10 comments

System Information
Win7 x64, GTX 460

Blender Version
Broken: 2.73, 2.74
Worked: 2.63

Short description of error
With proportional editing on, I get a few seconds freeze when activate translating (G); than after freeze,
everything goes ok. I thought that the problem was a large mesh, but 2.63 works great and without lags in the same file.

Exact steps for others to reproduce the error
My "bugged" file is the one, I am working with. If it is possible, can i sent it in private and not give it to the world here?

Thank you!

**System Information** Win7 x64, GTX 460 **Blender Version** Broken: 2.73, 2.74 Worked: 2.63 **Short description of error** With proportional editing on, I get a few seconds freeze when activate translating (G); than after freeze, everything goes ok. I thought that the problem was a large mesh, but 2.63 works great and without lags in the same file. **Exact steps for others to reproduce the error** My "bugged" file is the one, I am working with. If it is possible, can i sent it in private and not give it to the world here? Thank you!

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @MaximTkachenko

Added subscriber: @MaximTkachenko
Campbell Barton self-assigned this 2015-03-18 13:06:33 +01:00

Please attach a file which shows the problem. With this kind of an issue you can probably re-create a file which has a similar issue.

Please attach a file which shows the problem. With this kind of an issue you can probably re-create a file which has a similar issue.

Here it is
bug_prop.zip
If I remove part of mesh, it lags less.
But in older versions, it worked perfectly fast in any cases.

Here it is [bug_prop.zip](https://archive.blender.org/developer/F153075/bug_prop.zip) If I remove part of mesh, it lags less. But in older versions, it worked perfectly fast in any cases.
Member

Added subscribers: @ideasman42, @JulianEisel

Added subscribers: @ideasman42, @JulianEisel
Member

Can confirm that. Seems to be due to the amount of polys in the .blend. The question is: Why did it work in 2.63 but doesn't after that (didn't check 2.64 though)? @ideasman42, does that ring any bells for you? I can try to find the commit to blame if not.

Can confirm that. Seems to be due to the amount of polys in the .blend. The question is: Why did it work in 2.63 but doesn't after that (didn't check 2.64 though)? @ideasman42, does that ring any bells for you? I can try to find the commit to blame if not.

Added subscriber: @candreacchio

Added subscriber: @candreacchio

checking through my old blenders....

r55260 works fine
r58134 has lag

checking through my old blenders.... r55260 works fine r58134 has lag

Afraid this is working as intended.

Whats happening is:

  • PET is set to calculate connectivity info.
  • Connectivity info works differently in newer Blender versions (more correct infact since old code mixed real distance with connected distance).

The file attached in this report is a good example of worst possible case you could attempt to use connected-proportion-editing in.

I spent some time to optimize this case, and nearly got it a lot faster (nearly twice as fast). But theres still a very noticeable lag.

To support this case we would have to support re-calculating connectivity during transform, so it only calculates the data needed - then calculates more as the radius increases.

It would still be possible to take a mesh like this and shrink it down, or make the radius include the entire mesh (so its not fool-proof). But in cases like this where you edit only a portion of the mesh, it would resolve the issue.

Marking as TODO, since the code is not failing, this is just an extreme case which happens to be slow.
For now, in this case I can only suggest to workaround the issue - disable connected proportional-editing, or split out the geometry.

Afraid this is working as intended. Whats happening is: - PET is set to calculate connectivity info. - Connectivity info works differently in newer Blender versions (more correct infact since old code mixed real distance with connected distance). The file attached in this report is a *good* example of worst possible case you could attempt to use connected-proportion-editing in. I spent some time to optimize this case, and nearly got it a lot faster (nearly twice as fast). But theres still a very noticeable lag. To support this case we would have to support re-calculating connectivity during transform, so it only calculates the data needed - then calculates more as the radius increases. It would still be possible to take a mesh like this and shrink it down, or make the radius include the entire mesh (so its not fool-proof). But in cases like this where you edit only a portion of the mesh, it would resolve the issue. Marking as TODO, since the code is not failing, this is just an extreme case which happens to be slow. For now, in this case I can only suggest to workaround the issue - disable connected proportional-editing, or split out the geometry.
Campbell Barton removed their assignment 2016-08-11 06:35:16 +02:00

Removed subscriber: @ideasman42

Removed subscriber: @ideasman42
Philipp Oeser removed the
Interest
Modeling
label 2023-02-09 15:30:15 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
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#44035
No description provided.