Objects not updated after 'Copy Modifiers' undo #105021

Open
opened 2023-11-23 23:06:54 +01:00 by Nils-Carlson · 0 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2070/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 536.40

Blender Version
Broken: version: 4.0.1, branch: blender-v4.0-release, commit date: 2023-11-16 16:40, hash: d0dd92834a08
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Copy Attributes Menu (0, 6, 0)
Author: Bassam Kurdali, Fabian Fricke, Adam Wiseman, Demeter Dzadik

Short description of error
When undoing 'Copy Modifiers', the objects appear unchanged - as if the undo failed. However, viewing the modifier panel, the changes will have correctly been undone. (One can got to edit mode, then back to object mode, to 'refresh' the object - there are likely many other ways to refresh the object.)

Exact steps for others to reproduce the error

  1. Open new general blender file
  2. Create a 2nd cube (or any object) with a bevel modifier (or any modifier)
  3. Copy the bevel modifier to the new cube (or copy the '0 modifiers' to the bevel cube)
  4. Press ctrl+z to undo the action.
  5. It will appear as if nothing has happened. However, clicking on the other cube, and viewing the modifiers, you will see the action was undone, but not reflected in the viewport.

Also attached is a blend file with:

  • A cube with 0 modifiers
  • A cube with a bevel mod

Feel free to use this to save a few steps.

In my own scripting I have used:
"bpy.context.view_layer.update()"
To refresh objects when seeing simmilar discrepancies in the viewport.
(I cannot confirm if that is the right fix here, just a possible suggestion)

Please let me know if there is any other information I can provide to assist!

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2070/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 536.40 **Blender Version** Broken: version: 4.0.1, branch: blender-v4.0-release, commit date: 2023-11-16 16:40, hash: `d0dd92834a08` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Copy Attributes Menu (0, 6, 0) Author: Bassam Kurdali, Fabian Fricke, Adam Wiseman, Demeter Dzadik **Short description of error** When undoing 'Copy Modifiers', the objects appear unchanged - as if the undo failed. However, viewing the modifier panel, the changes will have correctly been undone. (One can got to edit mode, then back to object mode, to 'refresh' the object - there are likely many other ways to refresh the object.) **Exact steps for others to reproduce the error** 1. Open new general blender file 2. Create a 2nd cube (or any object) with a bevel modifier (or any modifier) 3. Copy the bevel modifier to the new cube (or copy the '0 modifiers' to the bevel cube) 4. Press ctrl+z to undo the action. 5. It will appear as if nothing has happened. However, clicking on the other cube, and viewing the modifiers, you will see the action was undone, but not reflected in the viewport. Also attached is a blend file with: * A cube with 0 modifiers * A cube with a bevel mod Feel free to use this to save a few steps. In my own scripting I have used: "bpy.context.view_layer.update()" To refresh objects when seeing simmilar discrepancies in the viewport. (I cannot confirm if that is the right fix here, just a possible suggestion) Please let me know if there is any other information I can provide to assist!
Nils-Carlson added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-11-23 23:06:54 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 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#105021
No description provided.