Undo, using 'Ctrl+Z' of mesh editing under the influence of Mirror Modifier, causing clearing of mirrored lines in GUI display #55138

Closed
opened 2018-05-20 23:31:33 +02:00 by Hoang Duy Tran · 5 comments
Member

A post in Blender Online - Vietnam's Blender User Development forum - (https://www.facebook.com/groups/blenderonline/permalink/2077823505829617/?comment_id=2077900142488620&notif_id=1526824146740746&notif_t=group_comment_reply) indicated that there is an error in GUI drawing of mirroring edge loops after performing a 'Ctrl+Z' (undo). I've tested this on Linux on both 2.78c and 2.79.4 and could reproduce the error in both versions.

How to see it:

  • Open Blender
  • Select the default Cube, press NUMPAD_1 to Front view, NUMPAD_5 to Orthographic projection.
  • Tab into Edit Mode
  • Press 'Z' to Wireframe mode
  • Ctrl+R to create a vertical edge loop, LMB to confirm middle position, RMB or Escape to stop sliding motion, placing the loop cut at the centre position, dividing the cube in half.
  • Press 'A' to unselect all.
  • Press 'B' to box select only the left side of the cube, press 'X' or 'Delete' to remove all selected vertices. The right half should remain intact.
  • Add a 'Mirror' modifier, leave all default settings (can optionally select 'Clipping' but it shouldn't make any difference).
  • Ctrl+R to create a vertical edge loop, LMB to confirm, drag it to the right, release RMB to confirm. Notice a dark grayed line mirror of this edge loop on the left side.
  • Ctrl+R to create a horizontal edge loop, LMB to confirm, drag it to the top, release RMB to confirm. Notice a dark grayed line mirror of this edge loop on the left side.
  • Now press Ctrl+Z to UNDO the last operation (horizontal edge loop creation). All grayed lines on the left disappeared.
  • Tab out of Edit Mode, back to Object Mode. On Properties panel, Object Tab, Display area, turn on 'Wire', 'Draw All Edges' and you should see the vertical line on the left reappear, indicating the data is not lost, but the display in UI has erroneously cleared the drawing lines.

Image before pressing 'Ctrl+Z' to UNDO
Screenshot from 2018-05-20 21-53-32.png

Image after pressing 'Ctrl+Z'
Screenshot from 2018-05-20 21-53-47.png

A post in Blender Online - Vietnam's Blender User Development forum - (https://www.facebook.com/groups/blenderonline/permalink/2077823505829617/?comment_id=2077900142488620&notif_id=1526824146740746&notif_t=group_comment_reply) indicated that there is an error in GUI drawing of mirroring edge loops after performing a 'Ctrl+Z' (undo). I've tested this on Linux on both 2.78c and 2.79.4 and could reproduce the error in both versions. How to see it: - Open Blender - Select the default Cube, press NUMPAD_1 to Front view, NUMPAD_5 to Orthographic projection. - Tab into Edit Mode - Press 'Z' to Wireframe mode - Ctrl+R to create a vertical edge loop, LMB to confirm middle position, RMB or Escape to stop sliding motion, placing the loop cut at the centre position, dividing the cube in half. - Press 'A' to unselect all. - Press 'B' to box select only the left side of the cube, press 'X' or 'Delete' to remove all selected vertices. The right half should remain intact. - Add a 'Mirror' modifier, leave all default settings (can optionally select 'Clipping' but it shouldn't make any difference). - Ctrl+R to create a vertical edge loop, LMB to confirm, drag it to the right, release RMB to confirm. Notice a dark grayed line mirror of this edge loop on the left side. - Ctrl+R to create a horizontal edge loop, LMB to confirm, drag it to the top, release RMB to confirm. Notice a dark grayed line mirror of this edge loop on the left side. - Now press Ctrl+Z to UNDO the last operation (horizontal edge loop creation). All grayed lines on the left disappeared. - Tab out of Edit Mode, back to Object Mode. On Properties panel, Object Tab, Display area, turn on 'Wire', 'Draw All Edges' and you should see the vertical line on the left reappear, indicating the data is not lost, but the display in UI has erroneously cleared the drawing lines. Image before pressing 'Ctrl+Z' to UNDO ![Screenshot from 2018-05-20 21-53-32.png](https://archive.blender.org/developer/F3411432/Screenshot_from_2018-05-20_21-53-32.png) Image after pressing 'Ctrl+Z' ![Screenshot from 2018-05-20 21-53-47.png](https://archive.blender.org/developer/F3411442/Screenshot_from_2018-05-20_21-53-47.png)
Author
Member

Added subscriber: @hoanguk

Added subscriber: @hoanguk

Added subscribers: @ideasman42, @LukasZiechmann

Added subscribers: @ideasman42, @LukasZiechmann

Hi @hoanguk ,

I can reproduce this behavior but the Undo (Ctrl+Z) has nothing to do with it. The same happens when leaving Edit-Mode and entering it again after the insertion of the loop-cuts (to any flat surface). It's as if the Mirror-Modifier has an own option of "draw all edges" that's always turned on but only updates when the object updates as well. This is a bit confusing, but to workaround it for now just turn on the show_on_cage option of the Mirror-Modifier. Then you can see all the geometry on both sides.

@ideasman42 I hope it is ok to point you to this task - I don't know the policy here and just guessed I should add one of the Modifier-Module-Owners as a subscriber. Sorry if that's not the right way.

Hi @hoanguk , I can reproduce this behavior but the Undo (Ctrl+Z) has nothing to do with it. The same happens when leaving Edit-Mode and entering it again after the insertion of the loop-cuts (to any flat surface). It's as if the Mirror-Modifier has an own option of "draw all edges" that's always turned on but only updates when the object updates as well. This is a bit confusing, but to workaround it for now just turn on the show_on_cage option of the Mirror-Modifier. Then you can see all the geometry on both sides. @ideasman42 I hope it is ok to point you to this task - I don't know the policy here and just guessed I should add one of the Modifier-Module-Owners as a subscriber. Sorry if that's not the right way.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Campbell Barton self-assigned this 2019-01-31 08:20:40 +01:00

Edges for co-planar faces are flagged not to draw, however this is only recalculated when entering edit-mode or undo.

Closing since this doesn't happen in 2.8x.

Edges for co-planar faces are flagged not to draw, however this is only recalculated when entering edit-mode or undo. Closing since this doesn't happen in 2.8x.
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
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#55138
No description provided.