InamuraJIN / ActionRecorder

GNU General Public License v3.0
178 stars 15 forks source link

Blender 4.0 - error with SubdivisionSurface #57

Closed vm2023vm closed 6 months ago

vm2023vm commented 9 months ago

Describe the bug Thanks for a very useful addon. In Blender 4.0, when trying to write a sequence of commands SubdivisionSurface with a value greater than 1, an error appears:

" Python: Traceback (most recent call last): File "C:\Users\design\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\ActionRecorder\actrec\operators\locals.py", line 439, in execute copy_dict = functions.create_object_copy(context, parent, name) File "C:\Users\design\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\ActionRecorder\actrec\functions\macros.py", line 574, in create_object_copy id_object = get_id_object(context, source_path, attribute) File "C:\Users\design\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\ActionRecorder\actrec\functions\macros.py", line 506, in get_id_object return trace_object(context, source_path) File "C:\Users\design\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\ActionRecorder\actrec\functions\macros.py", line 523, in trace_object index = int(index_str.replace("]", "")) ValueError: invalid literal for int() with base 10: '"Subdivision"'

To Reproduce

Expected behavior recording a sequence of actions

Screenshots screen

Version Information:

Additional context Thanks again for the wonderful addon

RivinHD commented 6 months ago

Fixed with Version 4.0.1