Psycrow101/Blender-3D-RW-Anm-plugin

Feature Request - Batch import animations

Nova-69 opened this issue ยท 8 comments

Hey, first of all thanks for making this ๐Ÿ‘Œbut also, is there any chance you can make it import multiple animations at once instead of having to import them one at a time?

Hello @Nova-69. I've created a new branch for this feature. https://github.com/Psycrow101/Blender-3D-RW-Anm-plugin/tree/batch-import

Try this version: io_scene_rw_anm.zip

Unfortunately it looks like it isn't working at all now, already tried removing the addon then re-installing it https://streamable.com/th8k5c

@Nova-69 try manually extract to C:\Users\%username%\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons

Still having the same result, no changes sadly

Almost works perfectly ๐Ÿ˜… It does import multiple animations, but it doesnt import everything selected. https://streamable.com/e7vm38

The error: Python: Traceback (most recent call last): File "C:\Users\emman\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_rw_anm\__init__.py", line 58, in execute import_rw_anm.load(context, file_path, self.fps) File "C:\Users\emman\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_rw_anm\import_rw_anm.py", line 59, in load anm = Anm.load(filepath) File "C:\Users\emman\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_rw_anm\anm.py", line 172, in load return cls.read(fd) File "C:\Users\emman\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_rw_anm\anm.py", line 162, in read anm_chunk = AnmChunk(chunk_id, chunk_version, AnmAction.read(fd)) File "C:\Users\emman\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_rw_anm\anm.py", line 107, in read prev_kf_id = frame_offs.index(prev_frame_off) ValueError: 4281351448 is not in list

Are you sure you replaced the anm.py file? This bug was fixed in this commit aac945d

Just removed the addon and redownloaded, looks like it works perfectly now! Thank you ๐Ÿ™๐Ÿ™