Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#80315 - [blender] can not apply modifiers

Attached to Project: Arch Linux
Opened by Turbo B (Turbo) - Tuesday, 21 November 2023, 15:14 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 21 November 2023, 21:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I can not apply any modifiers in Blender vesion 4.0.1 -3

Additional info:

bpy.ops.mesh.primitive_cube_add(size=2, enter_editmode=False, align='WORLD', location=(0, 0, 0), scale=(1, 1, 1))
bpy.context.space_data.context = 'MODIFIER'
bpy.ops.object.modifier_add(type='REMESH')
bpy.context.object.modifiers["Remesh"].mode = 'SHARP'
bpy.context.space_data.overlay.show_stats = True
bpy.context.object.modifiers["Remesh"].octree_depth = 5
bpy.context.object.modifiers["Remesh"].octree_depth = 6
bpy.context.object.modifiers["Remesh"].octree_depth = 7
bpy.context.object.modifiers["Remesh"].octree_depth = 8
bpy.context.object.modifiers["Remesh"].octree_depth = 9
bpy.ops.object.modifier_set_active(modifier="Remesh")
bpy.context.object.modifiers["Remesh"].octree_depth = 8
No Selection. No changes applied
bpy.ops.object.apply_all_modifiers()
Python: Traceback (most recent call last):
File "/usr/share/blender/4.0/scripts/addons/space_view3d_modifier_tools.py", line 37, in execute
contx = bpy.context.copy()
^^^^^^^^^^^^^^^^^^
File "/usr/share/blender/4.0/scripts/modules/bpy_types.py", line 94, in copy
value = getattr(self, attr)
^^^^^^^^^^^^^^^^^^^
AttributeError: 'Context' object has no attribute 'grease_pencil'

Steps to reproduce:

launch blender, add a cube, add a modifier, try to apply it.
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 21 November 2023, 21:16 GMT
Reason for closing:  Works for me
Additional comments about closing:  Refer comments
Comment by Konstantin (imlegr) - Tuesday, 21 November 2023, 15:20 GMT
I created a cube, added a Subdivision Surface modifier. Applied it. Everything works.

blender 4.0.1-3
Comment by Turbo B (Turbo) - Tuesday, 21 November 2023, 16:07 GMT
Arf ... not for me!
Comment by Turbo B (Turbo) - Tuesday, 21 November 2023, 16:36 GMT
reload the default settings and it works ..
Comment by Toolybird (Toolybird) - Tuesday, 21 November 2023, 20:20 GMT
Please *stop* shouting (title amended).

Loading...