Relax causes issues with linked mesh data #82739

Open
opened 2020-11-15 17:14:12 +01:00 by Antti Katajamäki · 6 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.09

Blender Version
Broken: version: 2.91.0 Beta, branch: master, commit date: 2020-11-14 03:36, hash: blender/blender@9b54c81414

Addon Information
Name: Edit Mesh Tools (0, 3, 6)
Author: Meta-Androcto

Short description of error
Using the relax function with objects that share same data will create a new duplicate (with unique data). Also the linked one will then behave as it would have shinkwrap modifier on.

Exact steps for others to reproduce the error

  1. Enable Edit mesh addon
  2. Use Duplicate linked (alt + d) for the default cube
  3. With the new cube go to edit mode and use the "relax" function

Extra note:

Similar behavior with object that has shape key.

Steps to reproduce

  1. Add mesh
  2. Add shape key for it
  3. change shape key value to 1
  4. go edit mode
  5. use relax
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.09 **Blender Version** Broken: version: 2.91.0 Beta, branch: master, commit date: 2020-11-14 03:36, hash: `blender/blender@9b54c81414` **Addon Information** Name: Edit Mesh Tools (0, 3, 6) Author: Meta-Androcto **Short description of error** Using the relax function with objects that share same data will create a new duplicate (with unique data). Also the linked one will then behave as it would have shinkwrap modifier on. **Exact steps for others to reproduce the error** 1. Enable Edit mesh addon 2. Use Duplicate linked (alt + d) for the default cube 3. With the new cube go to edit mode and use the "relax" function Extra note: Similar behavior with object that has shape key. Steps to reproduce 1. Add mesh 2. Add shape key for it 3. change shape key value to 1 3. go edit mode 4. use relax

Added subscriber: @Antti-1

Added subscriber: @Antti-1

blender/blender#97951 was marked as duplicate of this issue

blender/blender#97951 was marked as duplicate of this issue
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

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

Changed status from 'Needs Triage' to: 'Confirmed'
Member
Error: Python: Traceback (most recent call last):
  File "/home/omar/projects/blender/build/bin/3.2/scripts/addons/mesh_tools/mesh_relax.py", line 92, in execute
    relax_mesh(context)
  File "/home/omar/projects/blender/build/bin/3.2/scripts/addons/mesh_tools/mesh_relax.py", line 64, in relax_mesh
    bpy.ops.object.modifier_apply(modifier='relax_target')
  File "/home/omar/projects/blender/build/bin/3.2/scripts/modules/bpy/ops.py", line 116, in __call__
    ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.object.modifier_apply.poll() Modifiers cannot be applied to multi-user data
``` Error: Python: Traceback (most recent call last): File "/home/omar/projects/blender/build/bin/3.2/scripts/addons/mesh_tools/mesh_relax.py", line 92, in execute relax_mesh(context) File "/home/omar/projects/blender/build/bin/3.2/scripts/addons/mesh_tools/mesh_relax.py", line 64, in relax_mesh bpy.ops.object.modifier_apply(modifier='relax_target') File "/home/omar/projects/blender/build/bin/3.2/scripts/modules/bpy/ops.py", line 116, in __call__ ret = _op_call(self.idname_py(), None, kw) RuntimeError: Operator bpy.ops.object.modifier_apply.poll() Modifiers cannot be applied to multi-user data ```
Member

Added subscribers: @Whingymoose, @PratikPB2123

Added subscribers: @Whingymoose, @PratikPB2123
Sign in to join this conversation.
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-addons#82739
No description provided.