RMB cancel of translation of an object-offset array leaves the array in a visually undeterminate state #83724

Closed
opened 2020-12-13 16:11:28 +01:00 by s12a · 9 comments

System Information
Operating system: Linux-5.9.12-1-default-x86_64-with-glibc2.17 64 Bits
Graphics card: AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.39.0, 5.9.12-1-default, LLVM 11.0.0) X.Org 4.6 (Core Profile) Mesa 20.2.4

Blender Version
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-12-12 18:07, hash: 4797c13e8f

Short description of error
A curve object (named "Cage") has been duplicated in a circular pattern using an Array modifier and an Empty object as an object offset. The Empty object is parented to the curve object. If I try to move "Cage" (the parent object) with G and canceling the operation with RMB, the object-offset duplication pattern appears to be visually destroyed, as shown in this image:

destroyed-cage.png

However, hitting Tab twice to enter/leave the Edit mode, brings back the object in a correct state.

ok-cage.png

Oddly enough, saving the file Ctrl+S with the object in an apparently destroyed state and reloading it also brings back the object back to normal. So, this appears to be a strictly viewport update glitch and therefore likely to be a true bug.

Exact steps for others to reproduce the error
In the attached blend file:

  • Grab G the Object called "Cage" and move it around without confirming the operation
  • Cancel the operation with RMB => Object is destroyed
  • Select the object and hit Tab twice => Object is repaired

cages_array-update-bug.blend

**System Information** Operating system: Linux-5.9.12-1-default-x86_64-with-glibc2.17 64 Bits Graphics card: AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.39.0, 5.9.12-1-default, LLVM 11.0.0) X.Org 4.6 (Core Profile) Mesa 20.2.4 **Blender Version** Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-12-12 18:07, hash: `4797c13e8f` **Short description of error** A curve object (named "Cage") has been duplicated in a circular pattern using an Array modifier and an Empty object as an **object offset**. The Empty object is parented to the curve object. If I try to move "Cage" (the parent object) with `G` and canceling the operation with `RMB`, the object-offset duplication pattern appears to be visually destroyed, as shown in this image: ![destroyed-cage.png](https://archive.blender.org/developer/F9506631/destroyed-cage.png) However, hitting `Tab` twice to enter/leave the Edit mode, brings back the object in a correct state. ![ok-cage.png](https://archive.blender.org/developer/F9506636/ok-cage.png) Oddly enough, saving the file `Ctrl+S` with the object in an apparently destroyed state and reloading it also brings back the object back to normal. So, this appears to be a strictly viewport update glitch and therefore likely to be a true bug. **Exact steps for others to reproduce the error** In the attached blend file: - Grab `G` the Object called "Cage" and move it around without confirming the operation - Cancel the operation with `RMB` => Object is destroyed - Select the object and hit `Tab` twice => Object is repaired [cages_array-update-bug.blend](https://archive.blender.org/developer/F9506641/cages_array-update-bug.blend)
Author

Added subscriber: @s12a

Added subscriber: @s12a
Author

Rotate R and Scale S operations on the same object are also affected by this RMB-cancel bug, it turns out.

Rotate `R` and Scale `S` operations on the same object are also affected by this `RMB`-cancel bug, it turns out.
Author

Transform operations with numerical input are also affected by this visual glitch, but after the operation is confirmed the object returns to its normal state.

Steps from the previously attached .blend file:

  • Select "Cage"
  • Press G
  • Enter X, then 1 => Object is destroyed
  • Confirm with Enter or LMB => Object is repaired
Transform operations with numerical input are also affected by this visual glitch, but after the operation is confirmed the object returns to its normal state. Steps from the previously attached .blend file: - Select "Cage" - Press `G` - Enter `X`, then `1` => Object is destroyed - Confirm with `Enter` or `LMB` => Object is repaired

Added subscriber: @rjg

Added subscriber: @rjg

You have a dependency cycle in your project. The position of the cage array elements depend on the location of the empty, whose location depends on the cage as it is parented to it. If you parent the cage to the empty, instead of the empty to the cage, you can move the empty around and everything follows.

You have a dependency cycle in your project. The position of the cage array elements depend on the location of the empty, whose location depends on the cage as it is parented to it. If you parent the cage to the empty, instead of the empty to the cage, you can move the empty around and everything follows.

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

Changed status from 'Needs Triage' to: 'Archived'
Author

After arranging the parent-child relationship differently, it does indeed work correctly. I guess there was an expectation that the program would have tried to cope with the issue more consistently or warn the user.

After arranging the parent-child relationship differently, it does indeed work correctly. I guess there was an expectation that the program would have tried to cope with the issue more consistently or warn the user.

@s12a A warning is printed to the console (Window > Toggle System Console), which is easy to miss. We're planning to display warning and error messages more consistently in the future.

@s12a A warning is printed to the console (*Window > Toggle System Console*), which is easy to miss. We're planning to display warning and error messages more consistently in the future.
Author

I confirm those messages appearing in the console, although on Linux I had to launch Blender from the terminal to see them (no Window>Toggle System Console option here).

I confirm those messages appearing in the console, although on Linux I had to launch Blender from the terminal to see them (no Window>Toggle System Console option here).
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
2 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#83724
No description provided.